aboutsummaryrefslogtreecommitdiffstats
path: root/conf.c
diff options
context:
space:
mode:
Diffstat (limited to 'conf.c')
-rw-r--r--conf.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/conf.c b/conf.c
index b31a32c..a06a3e7 100644
--- a/conf.c
+++ b/conf.c
@@ -15,7 +15,7 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
- * $OpenBSD: conf.c,v 1.113 2012/12/17 23:03:41 okan Exp $
+ * $OpenBSD: conf.c,v 1.114 2012/12/17 23:54:57 okan Exp $
*/
#include <sys/param.h>
@@ -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);
}