svn commit: samba r24705 - in branches/SAMBA_4_0: . source/selftest/output

jelmer at samba.org jelmer at samba.org
Mon Aug 27 14:06:27 GMT 2007


Author: jelmer
Date: 2007-08-27 14:06:25 +0000 (Mon, 27 Aug 2007)
New Revision: 24705

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=24705

Log:
Avoid undefined value warnings.
Modified:
   branches/SAMBA_4_0/
   branches/SAMBA_4_0/source/selftest/output/html.pm


Changeset:

Property changes on: branches/SAMBA_4_0
___________________________________________________________________
Name: bzr:revision-info
...skipped...
Name: bzr:revision-id:v3-trunk0
...skipped...

Modified: branches/SAMBA_4_0/source/selftest/output/html.pm
===================================================================
--- branches/SAMBA_4_0/source/selftest/output/html.pm	2007-08-27 13:53:18 UTC (rev 24704)
+++ branches/SAMBA_4_0/source/selftest/output/html.pm	2007-08-27 14:06:25 UTC (rev 24705)
@@ -283,7 +283,11 @@
 			print SUMMARY "<tr>\n";
 			print SUMMARY "  <td><a href=\"" . $$_[0] . "\">$$_[2]</a></td>\n";
 			print SUMMARY "  <td><a href=\"" . $$_[0] . "#$$_[1]\">$$_[1]</a></td>\n";
-			print SUMMARY "  <td>$$_[3]</td>\n";
+			if (defined($$_[3])) {
+				print SUMMARY "  <td>$$_[3]</td>\n";
+			} else {
+				print SUMMARY "  <td></td>\n";
+			}
 			print SUMMARY "</tr>\n";
 		}
 



More information about the samba-cvs mailing list