q->top = 0;
if (q->top == q->bot) {
- SCLogCritical("Just ran out of space in the queue. "
- "Fatal Error. Exiting. Please file a bug report on this");
- exit(EXIT_FAILURE);
+ FatalError("Just ran out of space in the queue. "
+ "Fatal Error. Exiting. Please file a bug report on this");
}
return;
q->bot = 0;
if (q->bot == q->top) {
- SCLogCritical("StateQueue behaving weirdly. "
- "Fatal Error. Exiting. Please file a bug report on this");
- exit(EXIT_FAILURE);
+ FatalError("StateQueue behaving weirdly. "
+ "Fatal Error. Exiting. Please file a bug report on this");
}
return q->store[q->bot++];
(q)->top = 0; \
\
if ((q)->top == (q)->bot) { \
- SCLogCritical(SC_ERR_AHO_CORASICK, "Just ran out of space in the queue. " \
- "Fatal Error. Exiting. Please file a bug report on this"); \
- exit(EXIT_FAILURE); \
+ FatalError("Just ran out of space in the queue. " \
+ "Fatal Error. Exiting. Please file a bug report on
+this"); \
} \
} while (0)
q->top = 0;
if (q->top == q->bot) {
- SCLogCritical("Just ran out of space in the queue. "
- "Fatal Error. Exiting. Please file a bug report on this");
- exit(EXIT_FAILURE);
+ FatalError("Just ran out of space in the queue. "
+ "Fatal Error. Exiting. Please file a bug report on this");
}
}
q->bot = 0;
if (q->bot == q->top) {
- SCLogCritical("StateQueue behaving weirdly. "
- "Fatal Error. Exiting. Please file a bug report on this");
- exit(EXIT_FAILURE);
+ FatalError("StateQueue behaving weirdly. "
+ "Fatal Error. Exiting. Please file a bug report on this");
}
return q->store[q->bot++];
q->top = 0;
if (q->top == q->bot) {
- SCLogCritical("Just ran out of space in the queue. "
- "Fatal Error. Exiting. Please file a bug report on this");
- exit(EXIT_FAILURE);
+ FatalError("Just ran out of space in the queue. Please file a bug report on this");
}
return;
q->bot = 0;
if (q->bot == q->top) {
- SCLogCritical("StateQueue behaving weirdly. "
- "Fatal Error. Exiting. Please file a bug report on this");
- exit(EXIT_FAILURE);
+ FatalError("StateQueue behaving weirdly. Please file a bug report on this");
}
return q->store[q->bot++];
(q)->top = 0; \
\
if ((q)->top == (q)->bot) { \
- SCLogCritical(SC_ERR_AHO_CORASICK, "Just ran out of space in the queue. " \
- "Fatal Error. Exiting. Please file a bug report on this"); \
- exit(EXIT_FAILURE); \
+ FatalError("Just ran out of space in the queue. " \
+ "Fatal Error. Exiting. Please file a bug report on
+this"); \
} \
} while (0)