13 lines
470 B
Plaintext
13 lines
470 B
Plaintext
$OpenBSD: patch-protocols_oscar_im_c,v 1.1 2006/04/11 15:11:33 naddy Exp $
|
|
--- protocols/oscar/im.c.orig Sun Jan 15 02:04:29 2006
|
|
+++ protocols/oscar/im.c Sun Jan 29 03:23:14 2006
|
|
@@ -2134,7 +2134,7 @@ int msg_modfirst(aim_session_t *sess, ai
|
|
mod->toolid = 0x0110;
|
|
mod->toolversion = 0x0629;
|
|
mod->flags = 0;
|
|
- strncpy(mod->name, "messaging", sizeof(mod->name));
|
|
+ strlcpy(mod->name, "messaging", sizeof(mod->name));
|
|
mod->snachandler = snachandler;
|
|
|
|
return 0;
|