summary refs log tree commit diff
path: root/conf.c
diff options
context:
space:
mode:
authorokan <okan>2017-12-07 15:47:14 +0000
committerokan <okan>2017-12-07 15:47:14 +0000
commitb06ddae6249cca671046d04c0cf709cd0c48fd90 (patch)
tree371aa4a0628e34c2b3b5ae4c16e0c03d948763a7 /conf.c
parent0d76265e23f497624e5390759e612a2b16a6b5b9 (diff)
downloadcwm-b06ddae6249cca671046d04c0cf709cd0c48fd90.tar.gz
cwm-b06ddae6249cca671046d04c0cf709cd0c48fd90.tar.xz
cwm-b06ddae6249cca671046d04c0cf709cd0c48fd90.zip
stash dir into conf since it'll be of use
Diffstat (limited to 'conf.c')
-rw-r--r--conf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/conf.c b/conf.c
index 2022527..02ae7c8 100644
--- a/conf.c
+++ b/conf.c
@@ -297,7 +297,7 @@ conf_init(struct conf *c)
 	conf_cmd_add(c, "term", "xterm");
 
 	(void)snprintf(c->known_hosts, sizeof(c->known_hosts), "%s/%s",
-	    homedir, ".ssh/known_hosts");
+	    c->homedir, ".ssh/known_hosts");
 
 	c->font = xstrdup("sans-serif:pixelsize=14:bold");
 	c->wmname = xstrdup("CWM");