aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
author <beber@rampa.(none)>2006-01-20 12:34:23 +0100
committer <beber@rampa.(none)>2006-01-20 12:34:23 +0100
commit4fe4ff44b7e04e1f9ec2c90e505d8f80bb8865f9 (patch)
treeebbf3eba15442c0bd98e8a623f2afd969f400e8c /src
parentfree, free free... (diff)
downloadespik-4fe4ff44b7e04e1f9ec2c90e505d8f80bb8865f9.tar.xz
Comment
Diffstat (limited to 'src')
-rw-r--r--src/espik_irc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/espik_irc.c b/src/espik_irc.c
index 36408c8..dbe962d 100644
--- a/src/espik_irc.c
+++ b/src/espik_irc.c
@@ -91,7 +91,7 @@ buf_t make_buffer(int len)
espik_enter();
buf.buf = malloc (len);
- buf.len = len + 1;
+ buf.len = len + 1; /* Alloc trailing \0 */
espik_leave();
return (buf);