git-svn-id: file:///var/lib/svn/clamav-devel/trunk/clamav-devel@170 77e5149b-7576-45b1-b177-96237e5ba77b
Tomasz Kojm authored on 2004/01/06 22:46:59... | ... |
@@ -1,3 +1,8 @@ |
1 |
+Tue Jan 6 14:43:42 CET 2004 (tk) |
|
2 |
+--------------------------------- |
|
3 |
+ * clamd: cfgfile.c: HTTPProxyPort is now OPT_NUM and not OPT_STR (the bug |
|
4 |
+ found by Nigel) |
|
5 |
+ |
|
1 | 6 |
Sat Jan 3 11:30:38 CET 2004 (tk) |
2 | 7 |
--------------------------------- |
3 | 8 |
* libclamav: fixed handling of multipart signatures (broken since Dec 2). |
... | ... |
@@ -61,7 +61,7 @@ struct cfgstruct *parsecfg(const char *cfgfile) |
61 | 61 |
{"MaxConnectionQueueLength", OPT_NUM}, |
62 | 62 |
{"StreamSaveToDisk", OPT_NOARG}, |
63 | 63 |
{"StreamMaxLength", OPT_COMPSIZE}, |
64 |
- {"UseProcesses", OPT_NOARG}, |
|
64 |
+ {"UseProcessess", OPT_NOARG}, |
|
65 | 65 |
{"MaxThreads", OPT_NUM}, |
66 | 66 |
{"ThreadTimeout", OPT_NUM}, |
67 | 67 |
{"MaxDirectoryRecursion", OPT_NUM}, |
... | ... |
@@ -88,7 +88,7 @@ struct cfgstruct *parsecfg(const char *cfgfile) |
88 | 88 |
{"DatabaseMirror", OPT_STR}, /* freshclam */ |
89 | 89 |
{"MaxAttempts", OPT_NUM}, /* freshclam */ |
90 | 90 |
{"HTTPProxyServer", OPT_STR}, /* freshclam */ |
91 |
- {"HTTPProxyPort", OPT_STR}, /* freshclam */ |
|
91 |
+ {"HTTPProxyPort", OPT_NUM}, /* freshclam */ |
|
92 | 92 |
{"HTTPProxyUsername", OPT_STR}, /* freshclam */ |
93 | 93 |
{"HTTPProxyPassword", OPT_STR}, /* freshclam */ |
94 | 94 |
{"NotifyClamd", OPT_OPTARG}, /* freshclam */ |
... | ... |
@@ -96,7 +96,7 @@ int localserver(const struct optstruct *opt, const struct cfgstruct *copt, struc |
96 | 96 |
exit(1); |
97 | 97 |
} |
98 | 98 |
|
99 |
- if(cfgopt(copt, "UseProcesses")) |
|
99 |
+ if(cfgopt(copt, "UseProcessess")) |
|
100 | 100 |
acceptloop_proc(sockfd, root, copt); |
101 | 101 |
else |
102 | 102 |
acceptloop_th(sockfd, root, copt); |
... | ... |
@@ -95,7 +95,7 @@ int tcpserver(const struct optstruct *opt, const struct cfgstruct *copt, struct |
95 | 95 |
exit(1); |
96 | 96 |
} |
97 | 97 |
|
98 |
- if(cfgopt(copt, "UseProcesses")) |
|
98 |
+ if(cfgopt(copt, "UseProcessess")) |
|
99 | 99 |
acceptloop_proc(sockfd, root, copt); |
100 | 100 |
else |
101 | 101 |
acceptloop_th(sockfd, root, copt); |
... | ... |
@@ -76,7 +76,7 @@ LocalSocket /tmp/clamd |
76 | 76 |
#StreamMaxLength 10M |
77 | 77 |
|
78 | 78 |
# Use processes instead of threads (thread directives apply to processes too) |
79 |
-#UseProcesses |
|
79 |
+#UseProcessess |
|
80 | 80 |
|
81 | 81 |
# Maximal number of a threads running at the same time. |
82 | 82 |
# Default is 5, and it should be sufficient for a typical workstation. |