Project homepage Mailing List  Warmcat.com  API Docs  Github Mirror 
    npro  
 Modern all-safe Rust Network Protocol library supporting h1, h2, h3, ws, wt sans-IO and with socket IO + tls
git clone https://npro.rs/repo/npro
 
root / src / device / CMakeLists.txt
Author[]Andy Green <andy@warmcat.com> 2026-04-19 19:53 UTC
Committer[]Andy Green <andy@warmcat.com> 2026-04-19 19:53 UTC
Tree8262c81b1740c7b9ef811d6fc9a91212024f117a   Raw Patch
 
CID 503245: UNUSED_VALUE
CID 503245: UNUSED_VALUE
diff --git a/src/server/s-task.c b/src/server/s-task.c index a040e58..73bf2b7 100644 --- a/src/server/s-task.c +++ b/src/server/s-task.c @@ -377,7 +377,7 @@ sais_task_pending(struct vhd *vhd, struct pss *pss, sai_plat_t *cb, n = lws_struct_sq3_deserialize(pdb, pf, NULL, lsm_schema_sq3_map_task, &owner, &pss->ac_alloc_task, 0, 1); - if (!owner.count) + if (n < 0 || !owner.count) goto next1; lwsl_notice("%s: Prioritizing failed task for %s ('%s')\n", @@ -410,7 +410,7 @@ next1: ; lsm_schema_sq3_map_task, &owner, &pss->ac_alloc_task, 0, 1); // lwsl_notice("%s: deser returned %d\n", __func__, n); - if (!owner.count || !pss->ac_alloc_task) + if (n < 0 || !owner.count || !pss->ac_alloc_task) goto close_next; lwsl_info("%s: orig exit\n", __func__);
Page fetched 0s ago, creation time: 1ms (vhost etag hits: 0%, cache hits: 0%)