projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf09c5c
)
Fix error number for maxed out server users.
author
Wilfried Goesgens
<dothebart@citadel.org>
Fri, 24 Jul 2015 12:51:33 +0000
(14:51 +0200)
committer
Wilfried Goesgens
<dothebart@citadel.org>
Fri, 24 Jul 2015 12:51:33 +0000
(14:51 +0200)
webcit/serv_func.c
patch
|
blob
|
history
diff --git
a/webcit/serv_func.c
b/webcit/serv_func.c
index dd1cc4deef70c1247a727dc9710237506682a481..f6642325f27026f73f65a0c802911bbda16e1996 100644
(file)
--- a/
webcit/serv_func.c
+++ b/
webcit/serv_func.c
@@
-187,7
+187,7
@@
int GetConnected (void)
/* Server isn't ready for us? */
if (short_status != 2) {
- if (Status == 5
7
1) {
+ if (Status == 5
5
1) {
hprintf("HTTP/1.1 503 Service Unavailable\r\n");
hprintf("Content-type: text/plain; charset=utf-8\r\n");
wc_printf(_("This server is already serving its maximum number of users and cannot accept any additional logins at this time. Please try again later or contact your system administrator."));