]> sjero.net Git - linphone/commitdiff
fix compilation issue with upnp
authorJehan Monnier <jehan.monnier@linphone.org>
Tue, 26 Mar 2013 08:13:46 +0000 (09:13 +0100)
committerJehan Monnier <jehan.monnier@linphone.org>
Tue, 26 Mar 2013 08:13:46 +0000 (09:13 +0100)
coreapi/upnp.c

index 2dfd7f39c46db6754fc9e1f926abf420fe5c5fe4..75d0ef9e2afafb8a4eb881530b3a0a0b5b5ee87f 100644 (file)
@@ -338,7 +338,7 @@ UpnpContext* linphone_upnp_context_new(LinphoneCore *lc) {
        linphone_core_add_iterate_hook(lc, linphone_core_upnp_hook, lupnp);
 
        lupnp->upnp_igd_ctxt = NULL;
-       lupnp->upnp_igd_ctxt = upnp_igd_create(linphone_upnp_igd_callback, linphone_upnp_igd_print, lupnp);
+       lupnp->upnp_igd_ctxt = upnp_igd_create(linphone_upnp_igd_callback, linphone_upnp_igd_print, NULL, lupnp);
        if(lupnp->upnp_igd_ctxt == NULL) {
                lupnp->state = LinphoneUpnpStateKo;
                ms_error("Can't create uPnP IGD context");