Cosmetic issue.

Apply this after the full patch. (Or just delete the 5 characters from the full patch before applying.)

Sorry about the noise.

From 0ec2da0e86dd39a474705e099a1b4085b9602590 Mon Sep 17 00:00:00 2001
From: Timothe Litt <l...@acm.org>
List-Post: openvpn-devel@lists.sourceforge.net
Date: Mon, 28 Apr 2014 18:42:42 -0400
Subject: [PATCH] Remove validation hook in syslog facility patch.

While validating, PACKAGE_NAME (mixed case) was used as a default logger program name to ensure coverate of a corner case.

This wasn't reverted prior to release of the patch.

This switches to the intended PACKAGE (lower case) default.

Released as a separate patch so as not to invalidate any review of the full patch.

Signed-off-by: Timothe Litt <l...@acm.org>
---
 src/openvpn/error.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/openvpn/error.c b/src/openvpn/error.c
index fb0abbd..af7d486 100644
--- a/src/openvpn/error.c
+++ b/src/openvpn/error.c
@@ -563,7 +563,7 @@ open_syslog (const char *pgmname, bool stdio_to_null)
                  /* Default program name */

                  if (!*pname)
-                   pname = PACKAGE_NAME;
+                   pname = PACKAGE;

                  /* Convert extracted facility name to code */

--
1.7.10.4

--
Timothe Litt
ACM Distinguished Engineer
--------------------------
This communication may not represent the ACM or my employer's views,
if any, on the matters discussed.


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to