summaryrefslogtreecommitdiff
path: root/chat/eggdrop/patches/patch-ad
blob: 80eadcb76da786fd0f8be2231519e26c8b4223d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ad,v 1.3 2007/10/18 09:15:34 obache Exp $

--- src/mod/filesys.mod/filesys.c.orig	2006-05-29 01:56:08.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", 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);