aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-stream-fs.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2002-05-25 04:14:59 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2002-05-25 04:14:59 +0800
commitf1e6e913a674ce5deb47611a3d1d2ed3047a644c (patch)
tree53dd77717a25a3a68f28b150b7b7185f7bd26bb2 /camel/camel-stream-fs.c
parentbe5f3c160c66c42592bbb5e3697231f2ba9a40c3 (diff)
downloadgsoc2013-evolution-f1e6e913a674ce5deb47611a3d1d2ed3047a644c.tar.gz
gsoc2013-evolution-f1e6e913a674ce5deb47611a3d1d2ed3047a644c.tar.zst
gsoc2013-evolution-f1e6e913a674ce5deb47611a3d1d2ed3047a644c.zip
Use the new readline function.
2002-05-24 Jeffrey Stedfast <fejj@ximian.com> * 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
Diffstat (limited to 'camel/camel-stream-fs.c')
-rw-r--r--camel/camel-stream-fs.c9
1 files changed, 5 insertions, 4 deletions
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)