]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
unix runmode: fix FIXME
authorEric Leblond <eric@regit.org>
Tue, 20 Nov 2012 09:17:57 +0000 (10:17 +0100)
committerEric Leblond <eric@regit.org>
Tue, 20 Nov 2012 10:03:31 +0000 (11:03 +0100)
src/runmode-unix-socket.c

index 763cafe2bef845adc045539af5f8d4130d7273f0..35fa919da41608de07da065b18420ca59a4b62d4 100644 (file)
@@ -350,7 +350,7 @@ int RunModeUnixSocketSingle(DetectEngineCtx *de_ctx)
     PcapCommand *pcapcmd = SCMalloc(sizeof(PcapCommand));
 
     if (pcapcmd == NULL) {
-        /* FIXME: really ? */
+        SCLogError(SC_ERR_MEM_ALLOC, "Can not allocate pcap command");
         return 1;
     }
     pcapcmd->de_ctx = de_ctx;