projects
/
pazpar2-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
46fcfde
)
Conditional usage of resultsets_count
author
Dennis Schafroth
<dennis@indexdata.com>
Thu, 24 Feb 2011 11:53:52 +0000
(12:53 +0100)
committer
Dennis Schafroth
<dennis@indexdata.com>
Thu, 24 Feb 2011 11:53:52 +0000
(12:53 +0100)
src/http_command.c
patch
|
blob
|
history
diff --git
a/src/http_command.c
b/src/http_command.c
index
f0dc440
..
0bc8503
100644
(file)
--- a/
src/http_command.c
+++ b/
src/http_command.c
@@
-612,7
+612,11
@@
static void cmd_session_status(struct http_channel *c)
int sessions_count(void);
int clients_count(void);
+#ifdef HAVE_RESULTSETS_COUNT
int resultsets_count(void);
+#else
+#define resultsets_count() 0
+#endif
static void cmd_server_status(struct http_channel *c)
{