Import of pkgsrc-2015Q1

This commit is contained in:
2015-04-22 14:34:26 +02:00
committed by Lionel Sambuc
parent 9a8c06dafb
commit 4af1cdf7a9
25114 changed files with 870550 additions and 795435 deletions

View File

@@ -0,0 +1,13 @@
$NetBSD: patch-src_loggers_custom__sc.cpp,v 1.1 2014/05/27 09:55:04 joerg Exp $
--- src/loggers/custom_sc.cpp.orig 2014-05-23 17:02:08.000000000 +0000
+++ src/loggers/custom_sc.cpp
@@ -131,7 +131,7 @@ bool custom_sc::run(sqlrlistener *sqlrl,
// get the client IP, it's needed for some events
const char *clientaddr="unknown";
- if (sqlrcon && sqlrcon->cont->connstats->clientaddr) {
+ if (sqlrcon && sqlrcon->cont->connstats->clientaddr[0]) {
clientaddr=sqlrcon->cont->connstats->clientaddr;
}