Skip to contentSkip to conversation

Remove validation hook in syslog facility patch.

PATCH New Timothe Litt 1 participant 1 message Apr 28, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Remove validation hook in syslog facility patch.

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 <[email protected]...>
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.

---
 src/openvpn/error.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
src/openvpn/error.c +1 -1
index fb0abbd..af7d486 100644
@@ -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

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