projects
/
citadel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* fix crash in downloads.c; memset should prune SubTP not TP.
[citadel.git]
/
webcit
/
downloads.c
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;