aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-stream-null.c
diff options
context:
space:
mode:
Diffstat (limited to 'camel/camel-stream-null.c')
-rw-r--r--camel/camel-stream-null.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/camel/camel-stream-null.c b/camel/camel-stream-null.c
index 1738c326cc..293dd36736 100644
--- a/camel/camel-stream-null.c
+++ b/camel/camel-stream-null.c
@@ -78,16 +78,15 @@ camel_stream_null_get_type (void)
}
/**
- * camel_stream_fs_new_with_fd:
- * @fd: a file descriptor
+ * camel_stream_null_new:
*
* Returns a NULL stream. A null stream is always at eof, and
* always returns success for all reads and writes.
*
* Return value: the stream
**/
-CamelStreamNull *
+CamelStream *
camel_stream_null_new(void)
{
- return (CamelStreamNull *)camel_object_new(camel_stream_null_get_type ());
+ return (CamelStream *)camel_object_new(camel_stream_null_get_type ());
}