* duplicate memreadline & bmstrcasestr to a const and non const version
[citadel.git] / citadel / modules / pop3 / serv_pop3.c
index 33fa1203d36d72f4d21f5173e1388d799e04405e..2c1402dbde6ff72cbc1aca20fdbbb4448204570b 100644 (file)
@@ -420,7 +420,7 @@ void pop3_top(char *argbuf) {
        cprintf("+OK Message %d:\r\n", which_one);
        
        ptr = ChrPtr(msgtext);
-       while (ptr = memreadline(ptr, buf, (sizeof buf - 2)),
+       while (ptr = cmemreadline(ptr, buf, (sizeof buf - 2)),
              ( (*ptr != 0) && (done == 0))) {
                strcat(buf, "\r\n");
                if (in_body == 1) {