]> The Tcpdump Group git mirrors - tcpdump/blobdiff - smbutil.c
try fetch names from CVS logs and adding here
[tcpdump] / smbutil.c
index 4ddcf47ad5e52617104f6309b0fd666651337d88..c91b2cc5d6b17685e97b9697d47cbf91e5922da1 100644 (file)
--- a/smbutil.c
+++ b/smbutil.c
@@ -11,7 +11,7 @@
 
 #ifndef lint
 static const char rcsid[] =
-     "@(#) $Header: /tcpdump/master/tcpdump/smbutil.c,v 1.7 2000-07-10 04:38:26 assar Exp $";
+     "@(#) $Header: /tcpdump/master/tcpdump/smbutil.c,v 1.9 2000-07-29 08:03:06 assar Exp $";
 #endif
 
 #include <sys/param.h>
@@ -28,7 +28,7 @@ static const char rcsid[] =
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
-#include <time.h.
+#include <time.h>
 
 #include "interface.h"
 #include "smb.h"
@@ -526,7 +526,7 @@ const uchar *fdata(const uchar *buf, const char *fmt, const uchar *maxbuf)
     case '[':
       fmt++;
       if (buf>=maxbuf) return(buf);
-      bzero(s,sizeof(s));
+      memset(s, 0, sizeof(s));
       p = strchr(fmt,']');
       strncpy(s,fmt,p-fmt);
       fmt = p+1;