Hi Nicolas,

thanks for the bug report.

I sent the following patch upstream and it was comitted in r360. So, I leave it to the package maintainers if they want to apply the patch themselves, update to r360 or wait for the 0.5.2. release which should happen in the near future.

Kind regards,

   Wolfram Sang
pcf2vpnc: don't print two spaces if $item is not used

See Debian Bug Report #456550.

Signed-off-by: Wolfram Sang <[EMAIL PROTECTED]>
---
 pcf2vpnc |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: trunk/pcf2vpnc
===================================================================
--- trunk.orig/pcf2vpnc
+++ trunk/pcf2vpnc
@@ -84,7 +84,7 @@
     my $text = "## generated by pcf2vpnc\n";
     foreach my $section (keys %$config) {
 	foreach my $item (keys %{ $config->{$section} }) {
-	    $text .= "$section $item ".$config->{$section}{$item}."\n";
+	    $text .= "$section ".($item ? "$item " : '').$config->{$section}{$item}."\n";
 	}
     }
     unless (defined $config->{Xauth}) {

Reply via email to