bbb5dd63b6
from rich cannings and maintainer Dan Harnett <danh at openbsd.org>
17 lines
440 B
Plaintext
17 lines
440 B
Plaintext
$OpenBSD: patch-src_main_c,v 1.1 2004/04/20 19:11:34 sturm Exp $
|
|
--- src/main.c.orig 2004-02-26 10:26:14.000000000 -0700
|
|
+++ src/main.c 2004-02-26 10:27:18.000000000 -0700
|
|
@@ -290,10 +290,10 @@ main (int argc, char **argv)
|
|
optarg += 6;
|
|
}
|
|
#endif
|
|
- global.host = optarg;
|
|
+ global.host = strdup(optarg);
|
|
break;
|
|
case 'u':
|
|
- global.user = optarg;
|
|
+ global.user = strdup(optarg);
|
|
break;
|
|
case 'V':
|
|
Verbose = 1;
|