aboutsummaryrefslogtreecommitdiff
path: root/net-im/micq/files/patch-ac
blob: c01bc9202d4c5fcd257857cac426e890f91cd4ac (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14

$FreeBSD$

--- src/server.c	2002/04/05 09:53:54	1.1
+++ src/server.c	2002/04/05 09:54:20
@@ -134,7 +134,7 @@
 {
     char buf[450];
 
-    sprintf (buf, "%s\xFE%s", url, description);
+    snprintf (buf, sizeof(buf), "%s\xFE%s", url, description);
     icq_sendmsg (sess, uin, buf, URL_MESS);
 }