]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
fix build error
authorMichael Jerris <mike@jerris.com>
Mon, 4 Jun 2012 20:40:32 +0000 (16:40 -0400)
committerMichael Jerris <mike@jerris.com>
Mon, 4 Jun 2012 20:40:32 +0000 (16:40 -0400)
src/mod/endpoints/mod_sofia/sofia_presence.c

index c6ade27e1b73ed6b286b42a9b71d58f44e0911c0..25daa18f8c530b4f656c1a87e3bbe39a90aeff93 100644 (file)
@@ -3670,7 +3670,7 @@ void sofia_presence_handle_sip_i_subscribe(int status,
                        switch_event_add_header_string(params, SWITCH_STACK_BOTTOM, "to-uri", uri);
                        switch_event_add_header_string(params, SWITCH_STACK_BOTTOM, "from-uri", uri);
                        switch_event_add_header_string(params, SWITCH_STACK_BOTTOM, "content-type", "application/url");
-                       switch_event_add_body(params, profile->pnp_prov_url);
+                       switch_event_add_body(params, "%s", profile->pnp_prov_url);
                        switch_event_fire(&params);
 
                        switch_safe_free(uri);