Snort mailing list archives

--enable-smbalert typos


From: Kurt Grutzmacher <grutz () entheta homeip net>
Date: Sun, 8 Jul 2001 17:28:49 -0400

Two typos in log.c that show up when you --enable-smbalert:


--- snort-1.8-cvs/log.c Sun Jul  8 17:23:56 2001
+++ snort/log.c Sun Jul  8 17:18:28 2001
@@ -1033,7 +1033,6 @@
 #ifndef WIN32
     FILE *output;
 #endif
-    FILE *output;
     FILE *workstations;
     char *tempmsg;
     char workfile[STD_BUF+1];
@@ -1131,7 +1130,7 @@
                 system(command_line);
 #else
                 /* build the command line */
-                snprintf(command_line, 2047
+                snprintf(command_line, 2047,
                         "echo \"%s\" | smbclient -U Snort -M %s", 
                         tempmsg, tempwork);


---
 grutz_ () entheta homeip net
 selfosophy has an extensive legal department -- and you're all sued!

Attachment: _bin
Description:


Current thread: