put a default known_hosts into conf

This commit is contained in:
okan
2012-12-17 23:54:57 +00:00
parent 75f65f399e
commit 479e9f769c
3 changed files with 8 additions and 7 deletions

3
conf.c
View File

@@ -193,6 +193,9 @@ conf_init(struct conf *c)
(void)strlcpy(c->termpath, "xterm", sizeof(c->termpath));
(void)strlcpy(c->lockpath, "xlock", sizeof(c->lockpath));
(void)snprintf(c->known_hosts, sizeof(c->known_hosts), "%s/%s",
homedir, ".ssh/known_hosts");
c->font = xstrdup(CONF_FONT);
}