From f34e51a1c3b98df2b7c8c7d7eb415a33f42f2d75 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Sun, 25 May 2014 00:20:05 +0200 Subject: Make a few struct fields that are not supposed to be changed defines instead --- src/methods/common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/methods/common.h') diff --git a/src/methods/common.h b/src/methods/common.h index ea4a13a..7b0a4ff 100644 --- a/src/methods/common.h +++ b/src/methods/common.h @@ -73,7 +73,7 @@ static inline bool fastd_method_session_common_want_refresh(const fastd_method_c } static inline void fastd_method_session_common_superseded(fastd_method_common_t *session) { - struct timespec valid_max = fastd_in_seconds(conf.key_valid_old); + struct timespec valid_max = fastd_in_seconds(KEY_VALID_OLD); if (timespec_after(&session->valid_till, &valid_max)) session->valid_till = valid_max; -- cgit v1.2.3