aboutsummaryrefslogtreecommitdiffstats
path: root/channels/misdn/ie.c
diff options
context:
space:
mode:
Diffstat (limited to 'channels/misdn/ie.c')
-rw-r--r--channels/misdn/ie.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/misdn/ie.c b/channels/misdn/ie.c
index 33596098d..818a2f279 100644
--- a/channels/misdn/ie.c
+++ b/channels/misdn/ie.c
@@ -247,7 +247,7 @@ static void dec_ie_bearer(unsigned char *p, Q931_info_t *qi, int *coding, int *c
if (p[0] <= octet)
goto done;
- if (!p[octet++] & 0x80)
+ if (~p[octet++] & 0x80)
goto l2;
/* Wheee. V.110 speed information */