117ac1f407
ok simon@ and maintainer Andrew Dalgleish; tested by Wiktor Izdebski
13 lines
496 B
Plaintext
13 lines
496 B
Plaintext
$OpenBSD: patch-protocols_oscar_service_c,v 1.3 2007/11/19 11:44:33 martynas Exp $
|
|
--- protocols/oscar/service.c.orig Mon Aug 20 16:27:15 2007
|
|
+++ protocols/oscar/service.c Mon Nov 19 13:39:01 2007
|
|
@@ -937,7 +937,7 @@ int general_modfirst(aim_session_t *sess, aim_module_t
|
|
mod->toolid = 0x0110;
|
|
mod->toolversion = 0x0629;
|
|
mod->flags = 0;
|
|
- strncpy(mod->name, "general", sizeof(mod->name));
|
|
+ strlcpy(mod->name, "general", sizeof(mod->name));
|
|
mod->snachandler = snachandler;
|
|
|
|
return 0;
|