FILE *f;
int index;
pop_query_status ret;
- cmd_status status;
long length;
char buf[LONG_STRING];
char tempfile[_POSIX_PATH_MAX];
sscanf (line, "%d %s", &index, line);
for (i = 0; i < ctx->msgcount; i++)
- if (!safe_strcmp (line, ctx->hdrs[i]->data))
+ if (!str_cmp (line, ctx->hdrs[i]->data))
break;
if (i == ctx->msgcount) {
ctx->msgcount++;
ctx->hdrs[i] = mutt_new_header ();
- ctx->hdrs[i]->data = safe_strdup (line);
+ ctx->hdrs[i]->data = str_dup (line);
}
else if (ctx->hdrs[i]->index != index - 1)
pop_data->clear_cache = 1;
return -1;
FREE (&ctx->path);
- ctx->path = safe_strdup (buf);
+ ctx->path = str_dup (buf);
pop_data = safe_calloc (1, sizeof (POP_DATA));
pop_data->conn = conn;
* portion of the headers, those required for the main display.
*/
cache->index = h->index;
- cache->path = safe_strdup (path);
+ cache->path = str_dup (path);
rewind (msg->fp);
uidl = h->data;
mutt_free_envelope (&h->env);