[network-manager-vpnc/NETWORKMANAGER_0_7] import: strip whitespace on values too
- From: Dan Williams <dcbw src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [network-manager-vpnc/NETWORKMANAGER_0_7] import: strip whitespace on values too
- Date: Sat, 12 Sep 2009 00:29:55 +0000 (UTC)
commit 6f08b8e751cc18cc9ebca6cb0207577a5b4fc9ec
Author: Dan Williams <dcbw redhat com>
Date: Fri Sep 11 16:31:33 2009 -0700
import: strip whitespace on values too
properties/pcf-file.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/properties/pcf-file.c b/properties/pcf-file.c
index 9922527..76f6761 100644
--- a/properties/pcf-file.c
+++ b/properties/pcf-file.c
@@ -110,7 +110,7 @@ pcf_file_load (const char *fname)
*(e++) = 0;
entry = g_new (PcfEntry, 1);
- entry->value = g_strdup (e);
+ entry->value = g_strdup (g_strstrip (e));
if (*s == '!') {
key = g_utf8_strdown (s+1, -1);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]