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:
7c0b918
)
Added recid to full record view
author
Sebastian Hammer
<quinn@indexdata.com>
Tue, 9 Jan 2007 22:27:10 +0000
(22:27 +0000)
committer
Sebastian Hammer
<quinn@indexdata.com>
Tue, 9 Jan 2007 22:27:10 +0000
(22:27 +0000)
src/http_command.c
patch
|
blob
|
history
diff --git
a/src/http_command.c
b/src/http_command.c
index
edd6425
..
d03387d
100644
(file)
--- a/
src/http_command.c
+++ b/
src/http_command.c
@@
-1,5
+1,5
@@
/*
- * $Id: http_command.c,v 1.14 2007-01-09 22:06:49 quinn Exp $
+ * $Id: http_command.c,v 1.15 2007-01-09 22:27:10 quinn Exp $
*/
#include <stdio.h>
@@
-327,6
+327,7
@@
static void cmd_record(struct http_channel *c)
return;
}
wrbuf_puts(c->wrbuf, "<record>\n");
+ wrbuf_printf(c->wrbuf, "<recid>%d</recid>", rec->recid);
write_metadata(c->wrbuf, service, rec->metadata, 1);
wrbuf_puts(c->wrbuf, "</record>\n");
rs->payload = nmem_strdup(c->nmem, wrbuf_buf(c->wrbuf));