diff options
author | okan | 2016-10-03 14:42:34 +0000 |
---|---|---|
committer | okan | 2016-10-03 14:42:34 +0000 |
commit | 4cb9b524e74bf3eb9715b232c8a0261624e35869 (patch) | |
tree | c5c781a73db46ca1579c5bea9539d497ed36fa78 /conf.c | |
parent | 81d2fa85214b3c84c60b29cf852fd6618ebaacc9 (diff) | |
download | cwm-4cb9b524e74bf3eb9715b232c8a0261624e35869.tar.gz |
Defaults are split between defines and conf_init(); normalize these, as
well as give 'sticky' groups its own variable.
Diffstat (limited to '')
-rw-r--r-- | conf.c | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -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.208 2016/09/30 18:28:06 okan Exp $ + * $OpenBSD: conf.c,v 1.209 2016/10/03 14:42:34 okan Exp $ */ #include <sys/types.h> @@ -254,9 +254,10 @@ conf_init(struct conf *c) { unsigned int i; - c->bwidth = CONF_BWIDTH; - c->mamount = CONF_MAMOUNT; - c->snapdist = CONF_SNAPDIST; + c->stickygroups = 0; + c->bwidth = 1; + c->mamount = 1; + c->snapdist = 0; TAILQ_INIT(&c->ignoreq); TAILQ_INIT(&c->cmdq); @@ -279,7 +280,7 @@ conf_init(struct conf *c) (void)snprintf(c->known_hosts, sizeof(c->known_hosts), "%s/%s", homedir, ".ssh/known_hosts"); - c->font = xstrdup(CONF_FONT); + c->font = xstrdup("sans-serif:pixelsize=14:bold"); } void |