diff session.h @ 553:8711f20b89ab

- For uclinux, only cleanup on exit for the main process. This avoids trashing the state when a failing child exits.
author Matt Johnston <matt@ucc.asn.au>
date Thu, 09 Jul 2009 16:01:30 +0000
parents 0431915df79f
children 7f66b8e40f2d
line wrap: on
line diff
--- a/session.h	Tue Jun 16 15:22:33 2009 +0000
+++ b/session.h	Thu Jul 09 16:01:30 2009 +0000
@@ -213,6 +213,10 @@
 	/* The numeric address they connected from, used for logging */
 	char * addrstring;
 
+#ifdef __uClinux__
+	pid_t server_pid;
+#endif
+
 };
 
 typedef enum {