summaryrefslogtreecommitdiff
path: root/chat/eggdrop/patches/patch-ad
blob: d90982a970b6f06430c84166153b109ab0a2bcd8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ad,v 1.1.1.1 2002/06/26 03:48:14 kent Exp $

--- src/mod/filesys.mod/filesys.c.orig	Wed Dec  9 20:05:21 1998
+++ src/mod/filesys.mod/filesys.c	Wed Dec  9 20:09:13 1998
@@ -458,7 +458,7 @@
   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);