diff options
author | Patric Marschall <patric.marschall@1und1.de> | 2015-07-17 11:59:19 +0200 |
---|---|---|
committer | Richard Mudgett <rmudgett@digium.com> | 2015-07-17 11:02:24 -0500 |
commit | 7908ae49347919f4a9ecc4089a56f516c5562f5a (patch) | |
tree | a562ce437581f2a1917dbcebe3dca81bc91e2498 /channels | |
parent | a2bfd663a1974dda0863612df94dd649d24355f4 (diff) |
sig_pri.h: force_restart_unavailable_chans in wrong scope
In channels/sig_pri.h, struct sig_pri_span, the field
force_restart_unavailable_chans is only defined if
#if defined(HAVE_PRI_MCID) is true.
All other occurences of force_restart_unavailable_chans are outside of the
#if defined(HAVE_PRI_MCID)
endif
scope.
ASTERISK-25257 #close
Reported by: Patric Marschall
Change-Id: I071de89cc2cd0d85927a013036e235851f672549
Diffstat (limited to 'channels')
-rw-r--r-- | channels/sig_pri.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/sig_pri.h b/channels/sig_pri.h index 52e6c729d..d3e5350c8 100644 --- a/channels/sig_pri.h +++ b/channels/sig_pri.h @@ -496,9 +496,9 @@ struct sig_pri_span { #if defined(HAVE_PRI_MCID) /*! \brief TRUE if allow sending MCID request on this span. */ unsigned int mcid_send:1; +#endif /* defined(HAVE_PRI_MCID) */ /*! \brief TRUE if forcing RESTART when receive cause 44 on this span. */ unsigned int force_restart_unavailable_chans:1; -#endif /* defined(HAVE_PRI_MCID) */ #if defined(HAVE_PRI_DATETIME_SEND) /*! \brief Configured date/time ie send policy option. */ int datetime_send; |