From: Eric Leblond Date: Tue, 20 Nov 2012 09:17:57 +0000 (+0100) Subject: unix runmode: fix FIXME X-Git-Tag: suricata-1.4rc1~31 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=547c55114e3efb33f1948e030624a2430c59c4e7;p=thirdparty%2Fsuricata.git unix runmode: fix FIXME --- diff --git a/src/runmode-unix-socket.c b/src/runmode-unix-socket.c index 763cafe2be..35fa919da4 100644 --- a/src/runmode-unix-socket.c +++ b/src/runmode-unix-socket.c @@ -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;