Bug 1001539 - Fix compilation warning in ccsip_pmh.c. r=bwc
authorMartin Thomson <martin.thomson@gmail.com>
Fri, 25 Apr 2014 10:58:00 -0400
changeset 180683 6b04f015e541e07ff631ac18473824f7fb065755
parent 180682 669fdba2ceef8651844b672b1b3117e5386e54ce
child 180684 950fadd70f9ebde26828cbb6999f3e0e5784e32c
push id272
push userpvanderbeken@mozilla.com
push dateMon, 05 May 2014 16:31:18 +0000
reviewersbwc
bugs1001539
milestone31.0a1
Bug 1001539 - Fix compilation warning in ccsip_pmh.c. r=bwc
media/webrtc/signaling/src/sipcc/core/sipstack/ccsip_pmh.c
--- a/media/webrtc/signaling/src/sipcc/core/sipstack/ccsip_pmh.c
+++ b/media/webrtc/signaling/src/sipcc/core/sipstack/ccsip_pmh.c
@@ -1663,17 +1663,17 @@ sippmh_parse_contact_params (char *param
                     char save_ch;
                     boolean is_int = FALSE;
 
                     /* Expires can be given in delta seconds or date format.
                      * If date is used, the date must be enclosed in quotes.
                      * IOS does not use this parameter, but the SIP phones
                      * do.
                      */
-                    contact_params->expires_gmt = '\0';
+                    contact_params->expires_gmt = NULL;
                     good_params = TRUE;
                     param_value = params;
                     while (isdigit((int) *params)) {
                         params++;
                         is_int = TRUE;
                     }
                     if (is_int == TRUE) {
                         save_ch = *params;