openbsd-ports/net/bitlbee/patches/patch-protocols_oscar_bos_c
martynas 117ac1f407 update to bitlbee-1.0.4
ok simon@ and maintainer Andrew Dalgleish;  tested by Wiktor Izdebski
2007-11-19 11:44:32 +00:00

13 lines
476 B
Plaintext

$OpenBSD: patch-protocols_oscar_bos_c,v 1.2 2007/11/19 11:44:33 martynas Exp $
--- protocols/oscar/bos.c.orig Mon Aug 20 16:27:15 2007
+++ protocols/oscar/bos.c Mon Nov 19 13:39:01 2007
@@ -152,7 +152,7 @@ int bos_modfirst(aim_session_t *sess, aim_module_t *mo
mod->toolid = 0x0110;
mod->toolversion = 0x0629;
mod->flags = 0;
- strncpy(mod->name, "bos", sizeof(mod->name));
+ strlcpy(mod->name, "bos", sizeof(mod->name));
mod->snachandler = snachandler;
return 0;