Francois Gouget : testbot/web: Document that the Redirect() calls don' t return.

Alexandre Julliard julliard at winehq.org
Fri Dec 15 06:14:21 CST 2017


Module: tools
Branch: master
Commit: b8631bb6ed62409c4b1074bc0b929f1ab5cd7d8a
URL:    http://source.winehq.org/git/tools.git/?a=commit;h=b8631bb6ed62409c4b1074bc0b929f1ab5cd7d8a

Author: Francois Gouget <fgouget at codeweavers.com>
Date:   Fri Dec 15 07:54:59 2017 +0100

testbot/web: Document that the Redirect() calls don't return.

Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 testbot/lib/ObjectModel/CGI/ItemPage.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/testbot/lib/ObjectModel/CGI/ItemPage.pm b/testbot/lib/ObjectModel/CGI/ItemPage.pm
index 9d1525d..a07f02b 100644
--- a/testbot/lib/ObjectModel/CGI/ItemPage.pm
+++ b/testbot/lib/ObjectModel/CGI/ItemPage.pm
@@ -171,7 +171,7 @@ sub RedirectToList($)
                  "=" . url_escape($MasterColValues->[$ColIndex]);
     }
   }
-  $self->Redirect($Target);
+  $self->Redirect($Target); # does not return
 }
 
 1;




More information about the wine-cvs mailing list