[svn-commits] kpfleming: branch 1.4 r58354 -
/branches/1.4/main/http.c
svn-commits at lists.digium.com
svn-commits at lists.digium.com
Thu Mar 8 06:23:46 MST 2007
Author: kpfleming
Date: Thu Mar 8 07:23:46 2007
New Revision: 58354
URL: http://svn.digium.com/view/asterisk?view=rev&rev=58354
Log:
this change was not needed; fclose() handles closing the file descriptor already
Modified:
branches/1.4/main/http.c
Modified: branches/1.4/main/http.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/main/http.c?view=diff&rev=58354&r1=58353&r2=58354
==============================================================================
--- branches/1.4/main/http.c (original)
+++ branches/1.4/main/http.c Thu Mar 8 07:23:46 2007
@@ -497,7 +497,6 @@
free(title);
}
fclose(ser->f);
- close(ser->fd);
free(ser);
return NULL;
}
@@ -539,7 +538,6 @@
if (ast_pthread_create_background(&launched, &attr, ast_httpd_helper_thread, ser)) {
ast_log(LOG_WARNING, "Unable to launch helper thread: %s\n", strerror(errno));
fclose(ser->f);
- close(ser->fd);
free(ser);
}
pthread_attr_destroy(&attr);
More information about the svn-commits
mailing list