Fix compiler warning: control reaches end of non-void function

This commit is contained in:
Yang Tse 2009-10-29 04:02:21 +00:00
parent b205525d34
commit 308497ffc6
2 changed files with 2 additions and 2 deletions

View file

@ -264,7 +264,7 @@ int curl_accept(int s, void *saddr, void *saddrlen,
}
/* separate function to allow libcurl to mark a "faked" close */
int curl_mark_sclose(int sockfd, int line, const char *source)
void curl_mark_sclose(int sockfd, int line, const char *source)
{
if(logfile)
fprintf(logfile, "FD %s:%d sclose(%d)\n",