#endif
#include <lib-lib/mem.h>
+#include <lib-lib/file.h>
#include <lib-lib/str.h>
#include <lib-lib/macros.h>
sscanf (line, "%d %s", &index, line);
for (i = 0; i < ctx->msgcount; i++)
- if (!str_cmp (line, ctx->hdrs[i]->data))
+ if (!m_strcmp(line, ctx->hdrs[i]->data))
break;
if (i == ctx->msgcount) {
conn->data = pop_data;
- FOREVER {
+ for (;;) {
if (pop_reconnect (ctx) != PQ_OK)
return -1;
}
}
- FOREVER {
+ for (;;) {
if (pop_reconnect (ctx) != PQ_OK)
return -1;
pop_data->check_time = 0;
- FOREVER {
+ for (;;) {
if (pop_reconnect (ctx) != PQ_OK)
return PQ_NOT_CONNECTED;