OSSP CVS Repository

ossp - Difference in ossp-pkg/l2/l2_sockmon.c versions 1.7 and 1.8
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/l2/l2_sockmon.c 1.7 -> 1.8

--- l2_sockmon.c 2001/09/13 16:19:06     1.7
+++ l2_sockmon.c 2001/09/13 19:18:34     1.8
@@ -32,6 +32,7 @@
 #include <netinet/in.h>
 #include <stdio.h>
 #include <errno.h>
+#include <assert.h>
 
 #include "l2.h"
 
@@ -43,7 +44,7 @@
     int  i        = 0;
     char *pszTemp = NULL;
 
-    ASSERT(pszIn);
+    assert(pszIn != NULL);
 
     if ((pszTemp = (char *)strdup(pszIn)) == NULL)
         return NULL;

CVSTrac 2.0.1