fix compilation problem

fix documentation.
This commit is contained in:
Simon Morlat 2009-06-30 13:03:58 +02:00
parent 7d7af2a9f0
commit 4dfb04e529
2 changed files with 3 additions and 5 deletions

View file

@ -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"

View file

@ -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);