summaryrefslogtreecommitdiff
path: root/chat/eggdrop/patches/patch-ad
blob: 1e56456697f395becdd48787a5c4e5a67e821d87 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ad,v 1.2 2004/12/03 12:15:54 adam Exp $

--- src/mod/filesys.mod/filesys.c.orig	2004-07-02 21:02:02.000000000 +0000
+++ src/mod/filesys.mod/filesys.c
@@ -461,7 +461,7 @@ static int do_dcc_send(int idx, char *di
   if (at_limit(nick)) {
     char xxx[1024];
 
-    sprintf(xxx, "%d*%s%s", 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);