[llvm-commits] CVS: nightlytest-serverside/NightlyTestAccept.php

Tanya Lattner tonic at nondot.org
Wed May 2 15:16:32 PDT 2007



Changes in directory nightlytest-serverside:

NightlyTestAccept.php updated: 1.65 -> 1.66
---
Log message:

Die if no nickname is set!


---
Diffs of the changes:  (+6 -1)

 NightlyTestAccept.php |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletion(-)


Index: nightlytest-serverside/NightlyTestAccept.php
diff -u nightlytest-serverside/NightlyTestAccept.php:1.65 nightlytest-serverside/NightlyTestAccept.php:1.66
--- nightlytest-serverside/NightlyTestAccept.php:1.65	Sun Apr 29 16:10:32 2007
+++ nightlytest-serverside/NightlyTestAccept.php	Wed May  2 17:16:17 2007
@@ -466,7 +466,12 @@
  *
  *******************************************************************************/
 function acceptTest() {
-  
+ 
+  // If no nickname is set, die here
+  if (!isset($_POST['nickname'])) {
+    return;
+  }
+ 
   $database = "nightlytestresults";
   $loginname = "llvm";
   $password = "ll2002vm";






More information about the llvm-commits mailing list