diff options
author | Matt Johnston <matt@ucc.asn.au> | 2009-07-09 16:01:30 +0000 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2009-07-09 16:01:30 +0000 |
commit | a996e61a2e6b8ba4fb101a50c950a661cb6d770c (patch) | |
tree | 622d110fb930622e62c347ba3965fb3d1eff3165 /session.h | |
parent | cb82c6e3e0db91adc8aa65620935f4c9d57f70e9 (diff) |
- For uclinux, only cleanup on exit for the main process. This avoids
trashing the state when a failing child exits.
--HG--
extra : convert_revision : 5d029ce4602908c3becf0035cf2b7e62816959bc
Diffstat (limited to 'session.h')
-rw-r--r-- | session.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -213,6 +213,10 @@ struct serversession { /* The numeric address they connected from, used for logging */ char * addrstring; +#ifdef __uClinux__ + pid_t server_pid; +#endif + }; typedef enum { |