summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--readconf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/readconf.c b/readconf.c
index 4cacf6026..10bdb4b43 100644
--- a/readconf.c
+++ b/readconf.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: readconf.c,v 1.159 2006/08/03 03:34:42 deraadt Exp $ */ 1/* $OpenBSD: readconf.c,v 1.160 2007/01/17 23:22:52 dtucker Exp $ */
2/* 2/*
3 * Author: Tatu Ylonen <ylo@cs.hut.fi> 3 * Author: Tatu Ylonen <ylo@cs.hut.fi>
4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -364,7 +364,7 @@ parse_time:
364 if ((value = convtime(arg)) == -1) 364 if ((value = convtime(arg)) == -1)
365 fatal("%s line %d: invalid time value.", 365 fatal("%s line %d: invalid time value.",
366 filename, linenum); 366 filename, linenum);
367 if (*intptr == -1) 367 if (*activep && *intptr == -1)
368 *intptr = value; 368 *intptr = value;
369 break; 369 break;
370 370