Commit 71c18e53 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Use the Grace-defaulting function we already have.

parent e0db8b06
...@@ -450,9 +450,7 @@ VRT_r_##which##_grace(struct sess *sp) \ ...@@ -450,9 +450,7 @@ VRT_r_##which##_grace(struct sess *sp) \
{ \ { \
\ \
CHECK_OBJ_NOTNULL(sp, SESS_MAGIC); \ CHECK_OBJ_NOTNULL(sp, SESS_MAGIC); \
if (isnan(fld)) \ return(HSH_Grace(fld)); \
return ((double)params->default_grace); \
return(fld); \
} }
VRT_DO_GRACE(req, sp->grace, ) VRT_DO_GRACE(req, sp->grace, )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment