From f1e6e913a674ce5deb47611a3d1d2ed3047a644c Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Fri, 24 May 2002 20:14:59 +0000 Subject: Use the new readline function. 2002-05-24 Jeffrey Stedfast * providers/imap/camel-imap-command.c (imap_read_untagged): Use the new readline function. * providers/imap/camel-imap-store.c (connect_to_server): Use the new camel_imap_store_readline() function which doesn't suck quite as bad as the original camel_remote_store_recv_line() function. (camel_imap_store_readline): New function to replace camel_remote_store_recv_line(). This function is at least safe with embedded nul chars. Not that any of our callers use it *sigh*. svn path=/trunk/; revision=17012 --- camel/providers/imap/camel-imap-store.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'camel/providers/imap/camel-imap-store.h') diff --git a/camel/providers/imap/camel-imap-store.h b/camel/providers/imap/camel-imap-store.h index 36e6e3c032..9ebbc31ad7 100644 --- a/camel/providers/imap/camel-imap-store.h +++ b/camel/providers/imap/camel-imap-store.h @@ -131,7 +131,7 @@ CamelType camel_imap_store_get_type (void); gboolean camel_imap_store_connected (CamelImapStore *store, CamelException *ex); -int camel_imap_store_recv_line (CamelImapStore *store, char **dest, CamelException *ex); +ssize_t camel_imap_store_readline (CamelImapStore *store, char **dest, CamelException *ex); #ifdef __cplusplus } -- cgit v1.2.3