Changeset 32028


Ignore:
Timestamp:
2012-06-02T17:08:54+02:00 (6 years ago)
Author:
jow
Message:

[package] uhttpd: remove some dead code

Location:
trunk/package/uhttpd/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/uhttpd/src/uhttpd-cgi.c

    r32027 r32028  
    284284        } 
    285285 
    286         /* child has been marked dead by timeout or child handler, bail out */ 
    287         if (false && cl->dead) 
    288         { 
    289                 D("CGI: Child(%d) is marked dead, returning\n", state->cl->proc.pid); 
    290                 goto out; 
    291         } 
    292  
     286        /* got EOF or read error from child */ 
    293287        if ((len == 0) || 
    294288                ((errno != EAGAIN) && (errno != EWOULDBLOCK) && (len == -1))) 
  • trunk/package/uhttpd/src/uhttpd-lua.c

    r32027 r32028  
    317317        } 
    318318 
    319         /* child has been marked dead by timeout or child handler, bail out */ 
    320         if (false && cl->dead) 
    321         { 
    322                 D("Lua: Child(%d) is marked dead, returning\n", state->cl->proc.pid); 
    323                 goto out; 
    324         } 
    325  
     319        /* got EOF or read error from child */ 
    326320        if ((len == 0) || 
    327321                ((errno != EAGAIN) && (errno != EWOULDBLOCK) && (len == -1))) 
Note: See TracChangeset for help on using the changeset viewer.