From a986416b1b23aed3e6c92e8786c754a9f165abb9 Mon Sep 17 00:00:00 2001 From: "Matteo Nastasi (mop)" Date: Thu, 12 Dec 2013 07:17:10 +0100 Subject: [PATCH] typo fixed in TOS management and some debugging log removed --- web/Obj/brisk.phh | 1 - web/Obj/dbase_pgsql.phh | 2 +- web/Obj/sac-a-push.phh | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/web/Obj/brisk.phh b/web/Obj/brisk.phh index 4b12709..35196d0 100644 --- a/web/Obj/brisk.phh +++ b/web/Obj/brisk.phh @@ -2363,7 +2363,6 @@ class Room // from the socket, waiting if necessary // - fprintf(STDERR, "\n\nDENTRO QUI\n\n"); ob_start(); index_wr_main($this, $addr, $get, $post, $cookie); $content = ob_get_contents(); diff --git a/web/Obj/dbase_pgsql.phh b/web/Obj/dbase_pgsql.phh index e744425..707409f 100644 --- a/web/Obj/dbase_pgsql.phh +++ b/web/Obj/dbase_pgsql.phh @@ -205,7 +205,7 @@ class BriskDB GLOBAL $G_dbpfx; $user_sql = sprintf("UPDATE %susers SET (tos_vers) = ('%s') WHERE code = %d;", - $G_dbpfx, escsql($toss_vers), $code); + $G_dbpfx, escsql($tos_vers), $code); fprintf(STDERR, "REQUEST [%s]\n", $user_sql); if ( ! (($user_pg = $this->query($user_sql)) != FALSE && pg_affected_rows($user_pg) == 1) ) { return FALSE; diff --git a/web/Obj/sac-a-push.phh b/web/Obj/sac-a-push.phh index 5a525bb..7292a7b 100644 --- a/web/Obj/sac-a-push.phh +++ b/web/Obj/sac-a-push.phh @@ -803,7 +803,6 @@ class Sac_a_push { if (!strncmp($path, SITE_PREFIX, SITE_PREFIX_LEN)) { $rret = $this->app->request_mgr($this, $header, $header_out, $new_socket, substr($path, SITE_PREFIX_LEN), $addr, $get, $post, $cookie); } - fprintf(STDERR, "\n\n DI QUI PASSA [%s]\n\n", $rret); if ($rret == FALSE) { // FIXME: manage 404 !!! printf("TODO: fix unknown page\n"); -- 2.17.1