53e6084bfe
from Martynas Venckus <martynas at altroot dot org>
13 lines
479 B
Plaintext
13 lines
479 B
Plaintext
$OpenBSD: patch-protocols_oscar_service_c,v 1.2 2007/01/14 21:53:01 simon Exp $
|
|
--- protocols/oscar/service.c.orig Sat Jun 24 17:00:44 2006
|
|
+++ protocols/oscar/service.c Fri Dec 15 21:20:08 2006
|
|
@@ -937,7 +937,7 @@ int general_modfirst(aim_session_t *sess
|
|
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;
|