changeset 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 892bb91e9a27
children 1bdb08cc5d59
files src/server.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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))