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:
6270643
)
Move declaration
author
Adam Dickmeiss
<adam@indexdata.dk>
Wed, 27 Jun 2012 08:02:06 +0000
(10:02 +0200)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Wed, 27 Jun 2012 08:02:06 +0000
(10:02 +0200)
src/http_command.c
patch
|
blob
|
history
diff --git
a/src/http_command.c
b/src/http_command.c
index
cbca61b
..
aa73f91
100644
(file)
--- a/
src/http_command.c
+++ b/
src/http_command.c
@@
-943,7
+943,6
@@
static void show_record(struct http_channel *c, struct http_session *s)
struct http_response *rs = c->response;
struct http_request *rq = c->request;
struct record_cluster *rec, *prev_r, *next_r;
- struct record *r;
struct conf_service *service;
const char *idstr = http_argbyname(rq, "id");
const char *offsetstr = http_argbyname(rq, "offset");
@@
-1023,6
+1022,7
@@
static void show_record(struct http_channel *c, struct http_session *s)
}
else
{
+ struct record *r;
response_open_no_status(c, "record");
wrbuf_puts(c->wrbuf, "\n<recid>");
wrbuf_xmlputs(c->wrbuf, rec->recid);