summaryrefslogblamecommitdiff
path: root/net-im/micq/files/patch-ab
blob: 5a0048fae5938675cf112db1569e45271ca767a3 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                                                      
--- mreadline.c.orig	Tue Jan 23 11:49:05 2001
+++ mreadline.c	Wed Jan 24 22:01:31 2001
@@ -359,7 +359,7 @@
               break;
            }
         }
-	sprintf (s, "%s %s/", message_cmd,
+	snprintf (s, sizeof(s), "%s %s/", message_cmd,
 		tab_array[tab_pointer]);
 	clen = cpos = strlen (s);
 	R_undraw();