From: brarcher Date: Mon, 23 Jun 2014 04:13:11 +0000 (+0000) Subject: Add DurationMsg to CheckMsg union X-Git-Tag: 0.10.0~65 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0a1fd3d654ff4b9e3dc57952232f43e075da485b;p=check Add DurationMsg to CheckMsg union As the CheckMsg union is passed around to the various pack/upack functions, and a DurationMsg is valid to be passed around, include it in the union just in case the DurationMsg is or becomes larger than the other members. Patch provided by Michael Piszczek git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@1153 64e312b2-a51f-0410-8e61-82d0ca0eb02a --- diff --git a/src/check_pack.h b/src/check_pack.h index 372ef73..c38547f 100644 --- a/src/check_pack.h +++ b/src/check_pack.h @@ -57,6 +57,7 @@ typedef union CtxMsg ctx_msg; FailMsg fail_msg; LocMsg loc_msg; + DurationMsg duration_msg; } CheckMsg; typedef struct RcvMsg