diff options
Diffstat (limited to 'ssh.c')
-rw-r--r-- | ssh.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ssh.c,v 1.328 2009/10/28 16:38:18 reyk Exp $ */ | 1 | /* $OpenBSD: ssh.c,v 1.329 2009/12/20 07:28:36 guenther Exp $ */ |
2 | /* | 2 | /* |
3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland | 4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland |
@@ -528,7 +528,7 @@ main(int ac, char **av) | |||
528 | ac -= optind; | 528 | ac -= optind; |
529 | av += optind; | 529 | av += optind; |
530 | 530 | ||
531 | if (ac > 0 && !host && **av != '-') { | 531 | if (ac > 0 && !host) { |
532 | if (strrchr(*av, '@')) { | 532 | if (strrchr(*av, '@')) { |
533 | p = xstrdup(*av); | 533 | p = xstrdup(*av); |
534 | cp = strrchr(p, '@'); | 534 | cp = strrchr(p, '@'); |