f67f6898c6
DCTC is a Direct Connect clone, allowing users to share their files and talk (like IRC but more software sharing oriented) using a proprietary protocol.
13 lines
463 B
Plaintext
13 lines
463 B
Plaintext
$OpenBSD: patch-src_uaddr_c,v 1.1.1.1 2002/01/31 12:21:53 naddy Exp $
|
|
--- src/uaddr.c.orig Mon Jan 28 17:01:03 2002
|
|
+++ src/uaddr.c Mon Jan 28 17:01:19 2002
|
|
@@ -768,7 +768,7 @@ void list_uaddr_content(void)
|
|
if(mapped_uaddr[i].slot_status==0) /* empty slot */
|
|
continue;
|
|
|
|
- sprintf(tmp,"%lu",mapped_uaddr[i].register_time);
|
|
+ snprintf(tmp,sizeof(tmp),"%lu",mapped_uaddr[i].register_time);
|
|
disp_msg(CMD_KB,NULL,tmp,mapped_uaddr[i].dl_addr,NULL);
|
|
}
|
|
|