X-Git-Url: http://git.silcnet.org/gitweb/?p=silc.git;a=blobdiff_plain;f=lib%2Fsilccore%2Fsilcchannel.c;h=687d5ef7f0ab69d5816cc4cf5bfe89871a8e3039;hp=457662226c312590df5b57d01344c8328357c73a;hb=40f8443d8d3a6577336ee66d18e04d9ac4d956bb;hpb=6210937137137fe4019e808686dd1fcf99360af6 diff --git a/lib/silccore/silcchannel.c b/lib/silccore/silcchannel.c index 45766222..687d5ef7 100644 --- a/lib/silccore/silcchannel.c +++ b/lib/silccore/silcchannel.c @@ -19,7 +19,7 @@ /* Channel Payload and Channel Key Payload implementations. */ /* $Id$ */ -#include "silcincludes.h" +#include "silc.h" #include "silcchannel.h" /****************************************************************************** @@ -210,10 +210,12 @@ unsigned char *silc_channel_get_id(SilcChannelPayload payload, /* 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, - 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