tinc: fix typo in unknown host error message
This commit is contained in:
parent
023882f0a4
commit
987d15e7b2
1 changed files with 1 additions and 1 deletions
|
@ -1669,7 +1669,7 @@ main(int argc, char *argv[])
|
|||
|
||||
for(i = 0; i < argc; i++){
|
||||
if((h = gethost(argv[i], 0)) == nil)
|
||||
sysfatal("unknown host: %s", *argv);
|
||||
sysfatal("unknown host: %s", argv[i]);
|
||||
if(h == myhost)
|
||||
sysfatal("will not connect to myself");
|
||||
if(h->rsapub == nil)
|
||||
|
|
Loading…
Reference in a new issue