summaryrefslogtreecommitdiff
path: root/readconf.c
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2001-08-15 22:58:59 +0000
committerBen Lindstrom <mouring@eviladmin.org>2001-08-15 22:58:59 +0000
commitd0ff40847d8c84b2cad534080b97f81e0ec2deba (patch)
treeae638489bb69a7abfdff781c49eda97de14e67ab /readconf.c
parent4da21abd24856fe6dc3cc89d2ccf870f46dd5029 (diff)
- (bal) Fixed stray code in readconf.c that went in by mistake.
Diffstat (limited to 'readconf.c')
-rw-r--r--readconf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/readconf.c b/readconf.c
index c556b833..16a14df5 100644
--- a/readconf.c
+++ b/readconf.c
@@ -257,8 +257,7 @@ process_config_line(Options *options, const char *host,
char *line, const char *filename, int linenum,
int *activep)
{
- char buf[256], *s, *string = NULL, **charptr, *endofnumber, *keyword,
- *arg;
+ char buf[256], *s, *string, **charptr, *endofnumber, *keyword, *arg;
int opcode, *intptr, value;
u_short fwd_port, fwd_host_port;
@@ -475,6 +474,7 @@ parse_string:
case oProxyCommand:
charptr = &options->proxy_command;
+ string = xstrdup("");
while ((arg = strdelim(&s)) != NULL && *arg != '\0') {
string = xrealloc(string, strlen(string) + strlen(arg) + 2);
strcat(string, " ");