summaryrefslogtreecommitdiff
path: root/ssh.c
diff options
context:
space:
mode:
Diffstat (limited to 'ssh.c')
-rw-r--r--ssh.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ssh.c b/ssh.c
index 835f4822a..11fdb309d 100644
--- a/ssh.c
+++ b/ssh.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssh.c,v 1.388 2013/10/17 00:46:49 djm Exp $ */ 1/* $OpenBSD: ssh.c,v 1.389 2013/10/23 03:05:19 djm 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
@@ -900,6 +900,7 @@ main(int ac, char **av)
900 900
901 /* preserve host name given on command line for %n expansion */ 901 /* preserve host name given on command line for %n expansion */
902 if (options.hostname != NULL) { 902 if (options.hostname != NULL) {
903 /* NB. Please keep in sync with readconf.c:match_cfg_line() */
903 cp = percent_expand(options.hostname, 904 cp = percent_expand(options.hostname,
904 "h", host, (char *)NULL); 905 "h", host, (char *)NULL);
905 free(host); 906 free(host);