summaryrefslogtreecommitdiffhomepage
path: root/session.h
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2009-07-09 16:01:30 +0000
committerMatt Johnston <matt@ucc.asn.au>2009-07-09 16:01:30 +0000
commita996e61a2e6b8ba4fb101a50c950a661cb6d770c (patch)
tree622d110fb930622e62c347ba3965fb3d1eff3165 /session.h
parentcb82c6e3e0db91adc8aa65620935f4c9d57f70e9 (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.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/session.h b/session.h
index 5a4569e..e52b074 100644
--- a/session.h
+++ b/session.h
@@ -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 {