Dolda2000 GitWeb
/
doldaconnect.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e87de0d
)
Bugfix in fnet-dc.c to enable resuming files >2 GB.
author
Fredrik Tolf
<fredrik@dolda2000.com>
Mon, 18 Feb 2008 14:36:22 +0000
(15:36 +0100)
committer
Fredrik Tolf
<fredrik@dolda2000.com>
Mon, 18 Feb 2008 21:05:40 +0000
(22:05 +0100)
daemon/fnet-dc.c
patch
|
blob
|
blame
|
history
diff --git
a/daemon/fnet-dc.c
b/daemon/fnet-dc.c
index
d934025
..
c4d81c6
100644
(file)
--- a/
daemon/fnet-dc.c
+++ b/
daemon/fnet-dc.c
@@
-641,7
+641,7
@@
static int trresumecb(struct transfer *transfer, wchar_t *cmd, wchar_t *arg, str
flog(LOG_WARNING, "filter returned no position for \"resume\" on transfer %i", transfer->id);
freedcpeer(peer);
} else {
- transfer->curpos = wcstol(arg, NULL, 10);
+ transfer->curpos = wcstol
l
(arg, NULL, 10);
peer->hascurpos = 1;
requestfile(peer);
}