aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers/imap/camel-imap-utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'camel/providers/imap/camel-imap-utils.c')
-rw-r--r--camel/providers/imap/camel-imap-utils.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/camel/providers/imap/camel-imap-utils.c b/camel/providers/imap/camel-imap-utils.c
index 584cd1e754..0b947e07da 100644
--- a/camel/providers/imap/camel-imap-utils.c
+++ b/camel/providers/imap/camel-imap-utils.c
@@ -638,9 +638,6 @@ imap_parse_nstring (char **str_p, int *len)
return NULL;
}
- /* capture up until the end of the line - byte count may be a little off */
- for ( ; *(str + *len) && *(str + *len) != '\n'; (*len)++);
-
out = g_strndup (str, *len);
*str_p = str + *len;
return out;