Diff between 8a3f7786584513e32c5dc3921fe5b89b0b5add17 and 4b6c1b7311f4964a956ef809ffb94262c69613c4
Changed Files
| File | Additions | Deletions | Status |
| lib/sdp.c | +1 | -1 | modified |
Full Patch
diff --git a/lib/sdp.c b/lib/sdp.c
index eaf8d00..81e328e 100644
--- a/lib/sdp.c
+++ b/lib/sdp.c
@@ -4108,7 +4108,7 @@ int sdp_process(sdp_session_t *session)
}
if (n == 0 || reqhdr->tid != rsphdr->tid ||
- (n != (ntohs(rsphdr->plen) + (int) sizeof(sdp_pdu_hdr_t)))) {
+ (n != (int) (ntohs(rsphdr->plen) + sizeof(sdp_pdu_hdr_t)))) {
t->err = EPROTO;
SDPERR("Protocol error.");
goto end;