mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-22 05:38:14 +00:00
fix compilation problem
fix documentation.
This commit is contained in:
parent
7d7af2a9f0
commit
4dfb04e529
2 changed files with 3 additions and 5 deletions
|
|
@ -125,7 +125,9 @@ int ms_ticker_detach(MSTicker *ticker,MSFilter *f);
|
|||
void ms_ticker_destroy(MSTicker *ticker);
|
||||
|
||||
/**
|
||||
* Destroy a ticker.
|
||||
* Override MSTicker's time function.
|
||||
* This can be used to control the ticker from an external time provider, for example the
|
||||
* clock of a sound card.
|
||||
*
|
||||
* @param ticker A #MSTicker object.
|
||||
* @param func A replacement method for calculating "current time"
|
||||
|
|
|
|||
|
|
@ -180,10 +180,6 @@ int ms_discover_mtu(const char *host){
|
|||
err=getaddrinfo(host,port,&hints,&ai);
|
||||
if (err!=0){
|
||||
ms_error("getaddrinfo(): %s\n",gai_strerror(err));
|
||||
err = close(sock);
|
||||
if (err!=0)
|
||||
ms_error("close(): %s", strerror(err));
|
||||
|
||||
return -1;
|
||||
}
|
||||
sock=socket(PF_INET,SOCK_DGRAM,0);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue