furthermore, truncating here causes an inconsistent channel name
+jilles 2007/10/27 21:56:53 UTC (20071027-3574)
+ Log:
+ Fix a memory leak.
+
+
+ Changes: Modified:
+ +1 -0 trunk/src/channel.c (File Modified)
+
+
jilles 2007/09/09 19:19:23 UTC (20070909-3570)
Log:
Make /knock send to all channel members on +g (anyone may invite) channels.
jilles 2007/09/09 19:19:23 UTC (20070909-3570)
Log:
Make /knock send to all channel members on +g (anyone may invite) channels.
-#define SERNO "20070909-3570"
+#define SERNO "20071027-3574"
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
* USA
*
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
* USA
*
- * $Id: channel.c 3574 2007-10-27 21:56:53Z jilles $
+ * $Id: channel.c 3578 2007-11-07 21:45:14Z jilles $
{
struct Channel *chptr;
chptr = BlockHeapAlloc(channel_heap);
{
struct Channel *chptr;
chptr = BlockHeapAlloc(channel_heap);
- DupNString(chptr->chname, chname, CHANNELLEN);
+ DupString(chptr->chname, chname);