diff options
author | beber <beber> | 2006-01-17 13:26:10 +0000 |
---|---|---|
committer | beber <beber> | 2006-01-17 13:26:10 +0000 |
commit | 5ec18760a8f240dbad3f0cefe29425b2093f02a8 (patch) | |
tree | 5e55eba5057a1fbc813b765549b839172f23ec81 /src/espik_irc.c | |
parent | @ (diff) | |
download | espik-5ec18760a8f240dbad3f0cefe29425b2093f02a8.tar.xz |
no sizeof(char) for malloc
Diffstat (limited to 'src/espik_irc.c')
-rw-r--r-- | src/espik_irc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/espik_irc.c b/src/espik_irc.c index 7a0141a..f0cc195 100644 --- a/src/espik_irc.c +++ b/src/espik_irc.c @@ -90,7 +90,7 @@ buf_t make_buffer(int len) buf_t buf; espik_enter(); - buf.buf = malloc (sizeof(char) * len); + buf.buf = malloc (len); buf.len = len; espik_leave(); |