Commit 681d6a7c authored by Simon Morlat's avatar Simon Morlat

fix belle_sip_resolve

parent 5d0e3eda
...@@ -62,7 +62,7 @@ int main(int argc, char *argv[]){ ...@@ -62,7 +62,7 @@ int main(int argc, char *argv[]){
} }
stack=belle_sip_stack_new(NULL); stack=belle_sip_stack_new(NULL);
printf("Trying to resolve domain '%s', with transport hint '%s'\n",domain,transport); printf("Trying to resolve domain '%s', with transport hint '%s'\n",domain,transport);
belle_sip_stack_resolve(stack,transport,domain,5060,AF_INET6,resolver_callback,NULL); belle_sip_stack_resolve(stack,"sip", transport,domain,5060,AF_INET6,resolver_callback,NULL);
belle_sip_stack_main(stack); belle_sip_stack_main(stack);
belle_sip_object_unref(stack); belle_sip_object_unref(stack);
return 0; return 0;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment