summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
3c1ed5d)
-/T/U: No SSL, Trusted SSL, Untrusted SSL
Signed-off-by: Christoph Lohmann <20h@r-36.net>
static void
getpagestat(Client *c) {
static void
getpagestat(Client *c) {
- pagestat[0] = c->sslfailed ? 'U' : 'T';
+ const char *uri = geturi(c);
+
+ if(strstr(uri, "https://") == uri)
+ pagestat[0] = c->sslfailed ? 'U' : 'T';
+ else
+ pagestat[0] = '-';
+
pagestat[1] = usingproxy ? 'P' : '-';
}
pagestat[1] = usingproxy ? 'P' : '-';
}