return newlist;
}
strretchomp(tmp);
- log_print("IMAP4< %s\n", tmp);
if (tmp[0] != '*' || tmp[1] != ' ') {
+ log_print("IMAP4< %s\n", tmp);
g_free(tmp);
break;
}
if (strstr(tmp, "FETCH") == NULL) {
+ log_print("IMAP4< %s\n", tmp);
g_free(tmp);
continue;
}
+ /* log_print("IMAP4< %s\n", tmp); */
+ debug_print("IMAP4< %s\n", tmp);
g_string_assign(str, tmp);
g_free(tmp);
g_string_assign(str, nextline);
cur_pos = str->str;
strretchomp(nextline);
- log_print("IMAP4< %s\n", nextline);
+ /* log_print("IMAP4< %s\n", nextline); */
+ debug_print("IMAP4< %s\n", nextline);
g_free(nextline);
while (isspace(*cur_pos)) cur_pos++;
g_string_append(str, nextline);
cur_pos = str->str;
strretchomp(nextline);
- log_print("IMAP4< %s\n", nextline);
+ /* log_print("IMAP4< %s\n", nextline); */
+ debug_print("IMAP4< %s\n", nextline);
g_free(nextline);
} while (line_len < len);