Explorar o código

* Doubt this will do anything

svn: 888
Bryan Drewery %!s(int64=22) %!d(string=hai) anos
pai
achega
eaaab866ba
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/mod/update.mod/update.c

+ 1 - 1
src/mod/update.mod/update.c

@@ -122,7 +122,7 @@ static void update_ufsend(int idx, char *par)
       strcpy(dcc[i].nick, "*binary");
       dcc[i].u.xfer->filename = strdup(s);
       dcc[i].u.xfer->origname = dcc[i].u.xfer->filename;
-      dcc[i].u.xfer->length = atoi(par);
+      dcc[i].u.xfer->length = atol(par);
       dcc[i].u.xfer->f = f;
       dcc[i].sock = sock;
       strcpy(dcc[i].host, dcc[idx].nick);