summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Fredrik Hammar <hammy.lite@gmail.com>2007-08-07 18:04:16 +0000
committerThomas Schwinge <tschwinge@gnu.org>2009-10-06 09:51:34 +0200
commitf1a4d6327f269e5b6fc8cbca87c1f0c3b3bfb4b7 (patch)
treed6339da8c8aa6758c605415af37452987f5abe6c
parentc271c51a226307fc2441991b8c49e359e1397a4d (diff)
2007-08-07 Carl Fredrik Hammar <hammy.lite@gmail.com>
* channel.c (channel_create): Initialize hook. (channel_create): Fix comment. * channel.h (channel_create): Fix comment.
-rw-r--r--libchannel/channel.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/libchannel/channel.h b/libchannel/channel.h
index 77bde1084..de01f2ca3 100644
--- a/libchannel/channel.h
+++ b/libchannel/channel.h
@@ -79,9 +79,9 @@ struct channel_class
void (*cleanup) (struct channel *channel);
};
-/* Allocate a new channel of class CLASS, with FLAGS set (using
- channel_set_flags,) that is returned in CHANNEL. Return ENOMEM if
- memory for channel couldn't be allocated. */
+/* Allocate a new channel of class CLASS, with FLAGS set and return it
+ in CHANNEL. Return ENOMEM if memory for channel couldn't be
+ allocated. */
error_t channel_create (const struct channel_class *class,
int flags, struct channel **channel);