aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2007-03-08 13:23:46 +0000
committerkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2007-03-08 13:23:46 +0000
commit08834c034e90b0c3d3c8e90da59bdd16104f8b43 (patch)
tree43c93f2ae0f61113135e0fc3f152353b1cb673a8
parentade2d912ec854e65e98e0f4316714a90f7433d10 (diff)
this change was not needed; fclose() handles closing the file descriptor already
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@58354 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r--main/http.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/main/http.c b/main/http.c
index 772b0e39c..3f8f747ac 100644
--- a/main/http.c
+++ b/main/http.c
@@ -497,7 +497,6 @@ static void *ast_httpd_helper_thread(void *data)
free(title);
}
fclose(ser->f);
- close(ser->fd);
free(ser);
return NULL;
}
@@ -539,7 +538,6 @@ static void *http_root(void *data)
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);