Index: branches/htmlform/cgi-bin/allocate.pl
===================================================================
--- branches/htmlform/cgi-bin/allocate.pl	(revision 489)
+++ branches/htmlform/cgi-bin/allocate.pl	(revision 490)
@@ -38,7 +38,7 @@
 my $errstr;
 ($ip_dbh,$errstr) = connectDB_My;
-if (!$ip_dbh) {
-  printAndExit("Failed to connect to database: $errstr\n");
-}
+die "Failed to connect to database: $errstr\n"
+	if !$ip_dbh;
+
 checkDBSanity($ip_dbh);
 initIPDBGlobals($ip_dbh);
