openbsd-ports/net/micq/patches/patch-src_mreadline_c
kevlo c23b85ea71 upgrade to version 0.4.7
--
No response from maintainer
2001-07-25 16:13:01 +00:00

15 lines
441 B
Plaintext

--- src/mreadline.c.orig Sun Jun 17 21:56:27 2001
+++ src/mreadline.c Thu Jul 19 14:33:46 2001
@@ -166,9 +166,9 @@
}
if ((uin = TabGetNext ()))
- sprintf (s, "%s %s/", message_cmd, UIN2Name (uin));
+ snprintf (s, sizeof(s), "%s %s/", message_cmd, UIN2Name (uin));
else
- sprintf (s, "%s ", message_cmd);
+ snprintf (s, sizeof(s), "%s ", message_cmd);
clen = cpos = strlen (s);
R_undraw ();