[Asterisk-cvs] asterisk logger.c,1.14,1.15

markster at lists.digium.com markster at lists.digium.com
Tue Dec 2 08:42:31 CST 2003


Update of /usr/cvsroot/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv577

Modified Files:
	logger.c 
Log Message:
Minor logger fix


Index: logger.c
===================================================================
RCS file: /usr/cvsroot/asterisk/logger.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- logger.c	26 Nov 2003 22:00:07 -0000	1.14
+++ logger.c	2 Dec 2003 15:08:55 -0000	1.15
@@ -108,7 +108,7 @@
 		return NULL;
 	f = malloc(sizeof(struct logfile));
 	if (f) {
-		memset(f, 0, sizeof(f));
+		memset(f, 0, sizeof(struct logfile));
 		strncpy(f->fn, fn, sizeof(f->fn) - 1);
 		if (!strcasecmp(fn, "ignore")) {
 			f->f = NULL;




More information about the svn-commits mailing list