From efc03a7db42e86c5b41383ebda01bbbb4fcab4e8 Mon Sep 17 00:00:00 2001 From: Pav Lucistnik Date: Tue, 15 Nov 2005 00:10:58 +0000 Subject: - 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 (maintainer) --- mail/dbmail-devel/files/patch-2.0.7_003 | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 mail/dbmail-devel/files/patch-2.0.7_003 (limited to 'mail/dbmail-devel/files/patch-2.0.7_003') 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__, -- cgit v1.2.3