Răsfoiți Sursa

Fix the parsing of multiple continued lines in the config file.

Markus Hennecke 14 ani în urmă
părinte
comite
8a367bed7d
1 a modificat fișierele cu 2 adăugiri și 2 ștergeri
  1. 2 2
      autoupdate.pl

+ 2 - 2
autoupdate.pl

@@ -1,5 +1,5 @@
 #! /usr/bin/perl -w
-# $Id: autoupdate.pl,v 1.23 2009/08/30 06:14:38 markus Exp $
+# $Id: autoupdate.pl,v 1.24 2009/09/10 19:21:13 markus Exp $
 # Copyright (c) 2007,2008,2009
 #    Markus Hennecke <markus-hennecke@markus-hennecke.de>
 #
@@ -117,7 +117,7 @@ sub read_rc_file {
 			$temp_line .= $_;
 			next;
 		}
-		elsif ($append == 1) {
+		elsif ($append != 0) {
 			$_ = $temp_line . $_;
 			$real_lineno = $lineno - $append;
 			$append = 0;