diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2001-08-15 22:58:59 +0000 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2001-08-15 22:58:59 +0000 |
commit | d0ff40847d8c84b2cad534080b97f81e0ec2deba (patch) | |
tree | ae638489bb69a7abfdff781c49eda97de14e67ab /readconf.c | |
parent | 4da21abd24856fe6dc3cc89d2ccf870f46dd5029 (diff) |
- (bal) Fixed stray code in readconf.c that went in by mistake.
Diffstat (limited to 'readconf.c')
-rw-r--r-- | readconf.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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, " "); |