git://scientific.zcu.cz
/
jra1mw.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ebea62b
)
Distinguish between html/text server stat queries
author
Zdeněk Šustr
<sustr4@cesnet.cz>
Wed, 30 May 2012 19:53:17 +0000
(19:53 +0000)
committer
Zdeněk Šustr
<sustr4@cesnet.cz>
Wed, 30 May 2012 19:53:17 +0000
(19:53 +0000)
org.glite.lb.server/src/lb_proto.c
patch
|
blob
|
blame
|
history
diff --git
a/org.glite.lb.server/src/lb_proto.c
b/org.glite.lb.server/src/lb_proto.c
index
9ed3fd5
..
b1181ba
100644
(file)
--- a/
org.glite.lb.server/src/lb_proto.c
+++ b/
org.glite.lb.server/src/lb_proto.c
@@
-936,7
+936,7
@@
edg_wll_ErrorCode edg_wll_Proto(edg_wll_Context ctx,
}
else {
edg_wll_StatisticsToHTML(ctx, &message, text);
- edg_wll_ServerStatisticsIncrement(ctx, SERVER_STATS_HTML_VIEWS);
+ edg_wll_ServerStatisticsIncrement(ctx,
text ? SERVER_STATS_TEXT_VIEWS :
SERVER_STATS_HTML_VIEWS);
}
/* GET [something else]: not understood */
} else ret = HTTP_BADREQ;