freebsd-ports/net/linphone-base/files/patch-coreapi::linphonecore.c
Pav Lucistnik 26416847cf - Update to 1.2.0
PR:		ports/90933
Submitted by:	KATO Tsuguru <tkato432@yahoo.com>
2005-12-27 02:40:49 +00:00

26 lines
622 B
C

--- coreapi/linphonecore.c.orig Thu Dec 8 02:37:31 2005
+++ coreapi/linphonecore.c Tue Dec 20 13:24:10 2005
@@ -36,9 +36,7 @@
#include <arpa/inet.h>
#include <time.h>
-#ifdef INET6
#include <netdb.h>
-#endif
#include "enum.h"
@@ -1225,12 +1223,12 @@
{
char *real_url=NULL;
osip_to_t *real_parsed_url=NULL;
+ LinphoneCall *call=lc->call;
if (!linphone_core_interpret_url(lc,url,&real_url,&real_parsed_url)){
/* bad url */
return -1;
}
- LinphoneCall *call=lc->call;
if (call==NULL){
g_warning("No established call to refer.");
return -1;