diff options
author | Anders Nordby <anders@FreeBSD.org> | 2005-03-15 23:27:02 +0000 |
---|---|---|
committer | Anders Nordby <anders@FreeBSD.org> | 2005-03-15 23:27:02 +0000 |
commit | ab33b01b8c2a48fdd3a9216777d130115d2a57dc (patch) | |
tree | 3e128d7671ff788b694cadee9a205baa55ce8fdd /www/pound/files/patch-pound.c | |
parent | - Add p5-Class-DBI-DDL 1.01, DDL for Class-DBI. (diff) |
Update to 1.8.2.
PR: 73923
Submitted by: ports@c0decafe.net
Notes
Notes:
svn path=/head/; revision=131358
Diffstat (limited to 'www/pound/files/patch-pound.c')
-rw-r--r-- | www/pound/files/patch-pound.c | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/www/pound/files/patch-pound.c b/www/pound/files/patch-pound.c deleted file mode 100644 index 58eec83c4d61..000000000000 --- a/www/pound/files/patch-pound.c +++ /dev/null @@ -1,30 +0,0 @@ ---- pound.c Wed Mar 24 16:03:14 2004 -+++ pound.c Tue Mar 30 19:13:51 2004 -@@ -742,10 +742,11 @@ - logmsg(LOG_WARNING, "HTTP arg: malloc"); - close(clnt); - } else { -+ socklen_t namelen; - arg->sock = clnt; - arg->from_host = clnt_addr.sin_addr; -- memset(&arg->to_host, 0, n = sizeof(arg->to_host)); -- getsockname(http_sock[i], (struct sockaddr *)&arg->to_host, &n); -+ memset(&arg->to_host, 0, namelen = sizeof(arg->to_host)); -+ getsockname(http_sock[i], (struct sockaddr *)&arg->to_host, &namelen); - arg->ctx = NULL; - if(pthread_create(&thr, &attr, thr_http, (void *)arg)) { - logmsg(LOG_WARNING, "HTTP pthread_create: %s", strerror(errno)); -@@ -776,10 +777,11 @@ - logmsg(LOG_WARNING, "HTTPS arg: malloc"); - close(clnt); - } else { -+ socklen_t namelen; - arg->sock = clnt; - arg->from_host = clnt_addr.sin_addr; -- memset(&arg->to_host, 0, n = sizeof(arg->to_host)); -- getsockname(https_sock[i], (struct sockaddr *)&arg->to_host, &n); -+ memset(&arg->to_host, 0, namelen = sizeof(arg->to_host)); -+ getsockname(https_sock[i], (struct sockaddr *)&arg->to_host, &namelen); - arg->ctx = ctx[i]; - if(pthread_create(&thr, &attr, thr_http, (void *)arg)) { - logmsg(LOG_WARNING, "HTTPS pthread_create: %s", strerror(errno)); |