Permalink
Browse files

spool.c: bzero contents of pointer

Reported-by: Sascha Wildner <saw@online.de>
  • Loading branch information...
corecode committed Jun 15, 2012
1 parent 009a5dc commit 9f7c8589037edc84770736e579057cad34e0e464
Showing with 1 addition and 1 deletion.
  1. +1 −1 spool.c
View
@@ -284,7 +284,7 @@ load_queue(struct queue *queue)
char *queuefn;
char *mailfn;
- bzero(queue, sizeof(queue));
+ bzero(queue, sizeof(*queue));
LIST_INIT(&queue->queue);
spooldir = opendir(config.spooldir);

0 comments on commit 9f7c858

Please sign in to comment.