From 975966bca91dbf09ff7205bb77c2559c4486f2d0 Mon Sep 17 00:00:00 2001 From: Brian West Date: Mon, 5 Jun 2017 17:44:42 -0500 Subject: [PATCH] FS-10257: [mod_sofia] libsofia-sip-ua/msg no longer builds on Arch Linux due to -Werror=parentheses --- libs/sofia-sip/.update | 2 +- libs/sofia-sip/libsofia-sip-ua/msg/msg_parser.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/sofia-sip/.update b/libs/sofia-sip/.update index d785850102..8f426572b4 100644 --- a/libs/sofia-sip/.update +++ b/libs/sofia-sip/.update @@ -1 +1 @@ -Mon Apr 24 12:31:01 CDT 2017 +Mon Jun 5 17:43:45 CDT 2017 diff --git a/libs/sofia-sip/libsofia-sip-ua/msg/msg_parser.c b/libs/sofia-sip/libsofia-sip-ua/msg/msg_parser.c index 48c30d46ec..16a3daa4f8 100644 --- a/libs/sofia-sip/libsofia-sip-ua/msg/msg_parser.c +++ b/libs/sofia-sip/libsofia-sip-ua/msg/msg_parser.c @@ -2017,7 +2017,7 @@ msg_header_t **serialize_one(msg_t *msg, msg_header_t *h, msg_header_t **prev) for (last = h; last->sh_succ; last = last->sh_succ) { /* Ensure that chain is connected */ assert(last->sh_next == last->sh_succ); - assert(last->sh_succ->sh_prev = &last->sh_succ); + assert(last->sh_succ->sh_prev == &last->sh_succ); } prev = &last->sh_succ; }