projects
/
silc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added SILC Server library.
[silc.git]
/
lib
/
silccore
/
silcchannel.c
diff --git
a/lib/silccore/silcchannel.c
b/lib/silccore/silcchannel.c
index 457662226c312590df5b57d01344c8328357c73a..687d5ef7f0ab69d5816cc4cf5bfe89871a8e3039 100644
(file)
--- a/
lib/silccore/silcchannel.c
+++ b/
lib/silccore/silcchannel.c
@@
-19,7
+19,7
@@
/* Channel Payload and Channel Key Payload implementations. */
/* $Id$ */
/* Channel Payload and Channel Key Payload implementations. */
/* $Id$ */
-#include "silc
includes
.h"
+#include "silc.h"
#include "silcchannel.h"
/******************************************************************************
#include "silcchannel.h"
/******************************************************************************
@@
-210,10
+210,12
@@
unsigned char *silc_channel_get_id(SilcChannelPayload payload,
/* Return the channel ID as parsed ID. */
/* Return the channel ID as parsed ID. */
-SilcChannelID *silc_channel_get_id_parse(SilcChannelPayload payload)
+SilcBool silc_channel_get_id_parse(SilcChannelPayload payload,
+ SilcChannelID *ret_channel_id)
{
return silc_id_str2id(payload->channel_id, payload->id_len,
{
return silc_id_str2id(payload->channel_id, payload->id_len,
- SILC_ID_CHANNEL);
+ SILC_ID_CHANNEL, ret_channel_id,
+ sizeof(SilcChannelID));
}
/* Return the mode. The mode is arbitrary. It can be the mode of the
}
/* Return the mode. The mode is arbitrary. It can be the mode of the