Diff between 0989e74c5655f2938e06769c4a0e4c86cce1ff5d and 3a4dd4d3bbc406d3dadd70f55b59d7fcc16ea65b
Changed Files
| File | Additions | Deletions | Status |
| src/sdpd-request.c | +2 | -6 | modified |
Full Patch
diff --git a/src/sdpd-request.c b/src/sdpd-request.c
index 668e190..1722f78 100644
--- a/src/sdpd-request.c
+++ b/src/sdpd-request.c
@@ -557,17 +557,13 @@ static int extract_attrs(sdp_record_t *rec, sdp_list_t *seq, sdp_buf_t *buf)
if (!rec)
return SDP_INVALID_RECORD_HANDLE;
- if (seq) {
- SDPDBG("Entries in attr seq : %d", sdp_list_len(seq));
- } else {
- SDPDBG("NULL attribute descriptor");
- }
-
if (seq == NULL) {
SDPDBG("Attribute sequence is NULL");
return 0;
}
+ SDPDBG("Entries in attr seq : %d", sdp_list_len(seq));
+
sdp_gen_record_pdu(rec, &pdu);
for (; seq; seq = seq->next) {