diff src/server.c @ 1212:a487b35ac05a

[gaim-migrate @ 1222] g_snprintf committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Fri, 08 Dec 2000 04:56:04 +0000
parents 4fd0d35826fe
children a9cf2f61a7b1
line wrap: on
line diff
--- a/src/server.c	Wed Dec 06 23:27:45 2000 +0000
+++ b/src/server.c	Fri Dec 08 04:56:04 2000 +0000
@@ -627,7 +627,7 @@
 		char *filename;
 
 		filename = (char *)malloc(100);
-		snprintf(filename, 100, "%s.chat", b->name);
+		g_snprintf(filename, 100, "%s.chat", b->name);
 		
 		fd = open_log_file(filename);
 		if (!(general_options & OPT_GEN_STRIP_HTML))