diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2014-05-25 00:20:05 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2014-05-25 00:20:05 +0200 |
commit | f34e51a1c3b98df2b7c8c7d7eb415a33f42f2d75 (patch) | |
tree | 0edd536548163077da4c22ce7785936a3f9c06a6 /src/methods/common.h | |
parent | 1b21919d544e30cec89259cfa9353e10852cfc82 (diff) | |
download | fastd-f34e51a1c3b98df2b7c8c7d7eb415a33f42f2d75.tar fastd-f34e51a1c3b98df2b7c8c7d7eb415a33f42f2d75.zip |
Make a few struct fields that are not supposed to be changed defines instead
Diffstat (limited to 'src/methods/common.h')
-rw-r--r-- | src/methods/common.h | 2 |
1 files changed, 1 insertions, 1 deletions
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; |