X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=pop%2Fpop.c;h=2abedd7633d43349b8295b6804596c5bdceb6d2b;hp=058fe1de61ef2bf6f366aa093d780cff95bce220;hb=eed5352e46df93f8921d2e6dfdc95b027bad6e1e;hpb=7f7a0be369840b290248e5b0302beb447fa1b3cd diff --git a/pop/pop.c b/pop/pop.c index 058fe1d..2abedd7 100644 --- a/pop/pop.c +++ b/pop/pop.c @@ -131,7 +131,7 @@ static int fetch_uidl (char *line, void *data) 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) { @@ -259,7 +259,7 @@ int pop_open_mailbox (CONTEXT * ctx) conn->data = pop_data; - FOREVER { + for (;;) { if (pop_reconnect (ctx) != PQ_OK) return -1; @@ -354,7 +354,7 @@ int pop_fetch_message (MESSAGE * msg, CONTEXT * ctx, int msgno) } } - FOREVER { + for (;;) { if (pop_reconnect (ctx) != PQ_OK) return -1; @@ -440,7 +440,7 @@ pop_query_status pop_sync_mailbox (CONTEXT * ctx, int unused, int *index_hint) pop_data->check_time = 0; - FOREVER { + for (;;) { if (pop_reconnect (ctx) != PQ_OK) return PQ_NOT_CONNECTED;