Module: kamailio
Branch: master
Commit: d7871cd82e22bfe8444e2d150b38565265343223
URL:
https://github.com/kamailio/kamailio/commit/d7871cd82e22bfe8444e2d150b38565…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2016-11-01T15:30:18+01:00
core: parser/sdp - init pf variable to avoid compile time warnings
---
Modified: parser/sdp/sdp.c
---
Diff:
https://github.com/kamailio/kamailio/commit/d7871cd82e22bfe8444e2d150b38565…
Patch:
https://github.com/kamailio/kamailio/commit/d7871cd82e22bfe8444e2d150b38565…
---
diff --git a/parser/sdp/sdp.c b/parser/sdp/sdp.c
index 1e53940..e6708d8 100644
--- a/parser/sdp/sdp.c
+++ b/parser/sdp/sdp.c
@@ -375,6 +375,7 @@ static int parse_sdp_session(str *sdp_body, int session_num, str
*cnt_disp, sdp_
* - shorcut useful for multi-part bodies and sdp operations
*/
_sdp->text = *sdp_body;
+ pf = AF_INET;
/*
* Parsing of SDP body.