diff options
author | jeremy <jeremy@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-01-12 08:11:41 +0000 |
---|---|---|
committer | jeremy <jeremy@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-01-12 08:11:41 +0000 |
commit | 30b1eb06e6806510574bfdf3b73c92426df3ef71 (patch) | |
tree | 268c57608dd3222b5bcf42d5183f2076f3a0930f /logger.c | |
parent | b9a918f969c95088fb63b9d3c7d2f05929b05918 (diff) |
stomp on seg on logger reload
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1980 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'logger.c')
-rwxr-xr-x | logger.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -125,7 +125,7 @@ static struct logchannel *make_logchannel(char *channel, char *components, int l chan = malloc(sizeof(struct logchannel)); if (chan) { - memset(chan, 0, sizeof(chan)); + memset(chan, 0, sizeof(struct logchannel)); if (!strcasecmp(channel, "console")) { chan->console = 1; } else if (!strncasecmp(channel, "syslog", 6)) { |