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/camel-stream-fs.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'camel/camel-stream-fs.c') diff --git a/camel/camel-stream-fs.c b/camel/camel-stream-fs.c index a1d7cbaca3..917fd1f8e1 100644 --- a/camel/camel-stream-fs.c +++ b/camel/camel-stream-fs.c @@ -1,4 +1,4 @@ -/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8; fill-column: 160 -*- */ +/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* camel-stream-fs.c : file system based stream */ /* @@ -109,10 +109,11 @@ camel_stream_fs_get_type (void) * camel_stream_fs_new_with_fd: * @fd: a file descriptor * - * Returns a stream associated with the given file descriptor. - * When the stream is destroyed, the file descriptor will be closed. + * Creates a new fs stream using the given file descriptor @fd as the + * backing store. When the stream is destroyed, the file descriptor + * will be closed. * - * Return value: the stream + * Returns a new fs stream. **/ CamelStream * camel_stream_fs_new_with_fd (int fd) -- cgit v1.2.3