diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2001-08-06 20:47:23 +0000 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2001-08-06 20:47:23 +0000 |
commit | c88785efc8d38b6093ae21045dc0e8188ec42848 (patch) | |
tree | e375fc3c227fd3b7d567302c4826b43e498ab03f /readconf.c | |
parent | 2ab5924d1fd11233b50714ef40384a62e1f6740a (diff) |
- markus@cvs.openbsd.org 2001/07/22 21:32:27
[sshpty.c]
update comment
Diffstat (limited to 'readconf.c')
-rw-r--r-- | readconf.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -256,7 +256,8 @@ process_config_line(Options *options, const char *host, char *line, const char *filename, int linenum, int *activep) { - char buf[256], *s, *string, **charptr, *endofnumber, *keyword, *arg; + char buf[256], *s, *string = NULL, **charptr, *endofnumber, *keyword, + *arg; int opcode, *intptr, value; u_short fwd_port, fwd_host_port; @@ -469,7 +470,6 @@ 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, " "); |