Changed character for non-encrypted page

-/T/U: No SSL, Trusted SSL, Untrusted SSL

Signed-off-by: Christoph Lohmann <20h@r-36.net>
This commit is contained in:
Jens Nyberg 2013-02-12 21:26:24 +01:00 committed by Christoph Lohmann
parent 3c1ed5d56a
commit 24f0f83197

6
surf.c
View File

@ -1064,7 +1064,13 @@ gettogglestat(Client *c){
static void
getpagestat(Client *c) {
const char *uri = geturi(c);
if(strstr(uri, "https://") == uri)
pagestat[0] = c->sslfailed ? 'U' : 'T';
else
pagestat[0] = '-';
pagestat[1] = usingproxy ? 'P' : '-';
}