aboutsummaryrefslogtreecommitdiffstats
path: root/logger.c
diff options
context:
space:
mode:
authorjeremy <jeremy@f38db490-d61c-443f-a65b-d21fe96a405b>2004-01-12 08:11:41 +0000
committerjeremy <jeremy@f38db490-d61c-443f-a65b-d21fe96a405b>2004-01-12 08:11:41 +0000
commit30b1eb06e6806510574bfdf3b73c92426df3ef71 (patch)
tree268c57608dd3222b5bcf42d5183f2076f3a0930f /logger.c
parentb9a918f969c95088fb63b9d3c7d2f05929b05918 (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-xlogger.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/logger.c b/logger.c
index ffdb96a58..e6a7d5293 100755
--- a/logger.c
+++ b/logger.c
@@ -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)) {