summaryrefslogtreecommitdiff
path: root/mail/dbmail-devel/files/patch-2.0.7_003
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2005-11-15 00:10:58 +0000
committerPav Lucistnik <pav@FreeBSD.org>2005-11-15 00:10:58 +0000
commitefc03a7db42e86c5b41383ebda01bbbb4fcab4e8 (patch)
treecc2c75a3105316183ad3858c5730546d9428a621 /mail/dbmail-devel/files/patch-2.0.7_003
parent- Update to 0.4.6 (diff)
- Integrate vendor patches:
1. #266 - Excessive db connects and quits 2. #271 - BUG with connect to postgresql database 3. #272 - Non-UTF characters in a message's body 4. #277 - Fix "INTERNALDATE" calculation in imaputil.c 5. other patches from repository. - Add SHA256 PR: ports/88277 Submitted by: Mark Starovoytov <mark_sf@kikg.ifmo.ru> (maintainer)
Notes
Notes: svn path=/head/; revision=148303
Diffstat (limited to 'mail/dbmail-devel/files/patch-2.0.7_003')
-rw-r--r--mail/dbmail-devel/files/patch-2.0.7_00325
1 files changed, 25 insertions, 0 deletions
diff --git a/mail/dbmail-devel/files/patch-2.0.7_003 b/mail/dbmail-devel/files/patch-2.0.7_003
new file mode 100644
index 000000000000..1b83d01d5dca
--- /dev/null
+++ b/mail/dbmail-devel/files/patch-2.0.7_003
@@ -0,0 +1,25 @@
+--- serverchild.c (revision 1889)
++++ serverchild.c (revision 1890)
+@@ -312,19 +312,16 @@
+
+ client.timeoutMsg = info->timeoutMsg;
+ client.timeout = info->timeout;
+- strncpy(client.ip, inet_ntoa(saClient.sin_addr),
+- IPNUM_LEN);
++ strncpy(client.ip, inet_ntoa(saClient.sin_addr), IPNUM_LEN);
+ client.clientname[0] = '\0';
+
+ if (info->resolveIP) {
+- clientHost =
+- gethostbyaddr((char *) &saClient.sin_addr,
++ clientHost = gethostbyaddr((char *) &saClient.sin_addr,
+ sizeof(saClient.sin_addr),
+ saClient.sin_family);
+
+ if (clientHost && clientHost->h_name)
+- strncpy(client.clientname,
+- clientHost->h_name, FIELDSIZE);
++ strncpy(client.clientname, clientHost->h_name, FIELDSIZE);
+
+ trace(TRACE_MESSAGE, "%s,%s: incoming connection from [%s (%s)]",
+ __FILE__, __func__,