summaryrefslogtreecommitdiffstats
path: root/readconf.c
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2001-08-06 20:47:23 +0000
committerBen Lindstrom <mouring@eviladmin.org>2001-08-06 20:47:23 +0000
commitc88785efc8d38b6093ae21045dc0e8188ec42848 (patch)
treee375fc3c227fd3b7d567302c4826b43e498ab03f /readconf.c
parent2ab5924d1fd11233b50714ef40384a62e1f6740a (diff)
- markus@cvs.openbsd.org 2001/07/22 21:32:27
[sshpty.c] update comment
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 4a109468..19b571a7 100644
--- a/readconf.c
+++ b/readconf.c
@@ -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, " ");