mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-09-22 11:04:51 -04:00
14 lines
519 B
Plaintext
14 lines
519 B
Plaintext
$NetBSD: patch-ad,v 1.4 2012/03/31 21:52:57 shattered Exp $
|
|
|
|
--- src/mod/filesys.mod/filesys.c.orig 2011-02-13 14:19:33.000000000 +0000
|
|
+++ src/mod/filesys.mod/filesys.c
|
|
@@ -464,7 +464,7 @@ static int do_dcc_send(int idx, char *di
|
|
if (at_limit(nick)) {
|
|
char xxx[1024];
|
|
|
|
- sprintf(xxx, "%d*%s%s", (int) strlen(dccdir), dccdir, dir);
|
|
+ sprintf(xxx, "%lu*%s%s", strlen(dccdir), dccdir, dir);
|
|
queue_file(xxx, fn, dcc[idx].nick, nick);
|
|
dprintf(idx, "Queued: %s to %s\n", fn, nick);
|
|
my_free(s);
|