projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
47b79a3
)
* fix crash in downloads.c; memset should prune SubTP not TP.
author
Wilfried Göesgens
<willi@citadel.org>
Thu, 19 Nov 2009 19:52:39 +0000
(19:52 +0000)
committer
Wilfried Göesgens
<willi@citadel.org>
Thu, 19 Nov 2009 19:52:39 +0000
(19:52 +0000)
webcit/downloads.c
patch
|
blob
|
history
diff --git
a/webcit/downloads.c
b/webcit/downloads.c
index 3bd86350ea88510de31380b9f9a98f2a3b485a93..8544aabb9db93a88d75e50fd00595fadb94e9799 100644
(file)
--- a/
webcit/downloads.c
+++ b/
webcit/downloads.c
@@
-175,7
+175,7
@@
HashList* LoadFileList(StrBuf *Target, WCTemplputParams *TP)
int HavePic;
WCTemplputParams SubTP;
- memset(&TP, 0, sizeof(WCTemplputParams));
+ memset(&
Sub
TP, 0, sizeof(WCTemplputParams));
serv_puts("RDIR");
serv_getln(buf, sizeof buf);
if (buf[0] != '1') return NULL;