X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit%2Fwebcit.c;h=5d213a5f0389bd036b7ebc3e92d175a240a10110;hb=920ab7a40eb279c461ea15a7a81597b2db4f50d7;hp=3c094cd1e0c1fd1490640f4314a9e48419b1d5c4;hpb=759cb440bb037096f28d8d94d5c20e13ad22064c;p=citadel.git diff --git a/webcit/webcit.c b/webcit/webcit.c index 3c094cd1e..5d213a5f0 100644 --- a/webcit/webcit.c +++ b/webcit/webcit.c @@ -511,7 +511,7 @@ void push_destination(void) { void pop_destination(void) { wcsession *WCC = WC; - if (!WCC) { + if ( (!WCC) || (WCC->PushedDestination == NULL) || (StrLength(WCC->PushedDestination) == 0) ) { do_welcome(); return; }