[PATCH 04/12] hs20-signup: print out ID if there is some problem with it.

greearb at candelatech.com greearb at candelatech.com
Thu Mar 26 17:39:50 EDT 2015


From: Ben Greear <greearb at candelatech.com>

Signed-off-by: Ben Greear <greearb at candelatech.com>
---
 hs20/server/www/signup.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hs20/server/www/signup.php b/hs20/server/www/signup.php
index a626704..aeb2f68 100644
--- a/hs20/server/www/signup.php
+++ b/hs20/server/www/signup.php
@@ -17,7 +17,7 @@ if (!$db) {
 
 $row = $db->query("SELECT realm FROM sessions WHERE id='$id'")->fetch();
 if ($row == false) {
-   die("Session not found");
+   die("Session not found for id: $id");
 }
 $realm = $row['realm'];
 
-- 
1.9.3



More information about the HostAP mailing list