Bug #358 ยป 0001-debuglog-fix-segment-logging.patch
| src/alert-debuglog.c | ||
|---|---|---|
|
ret = StreamSegmentForEach(p, flag,
|
||
|
AlertDebugPrintStreamSegmentCallback,
|
||
|
(void *)aft);
|
||
|
if (ret != 1) {
|
||
|
if (ret < 0) {
|
||
|
SCMutexUnlock(&aft->file_ctx->fp_mutex);
|
||
|
return TM_ECODE_FAILED;
|
||
|
}
|
||