From: Sebastian Hammer Date: Tue, 9 Jan 2007 22:27:10 +0000 (+0000) Subject: Added recid to full record view X-Git-Tag: before.append.child~7 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=09ecce9102bf462d5dc81ec362d6814e3bbaf639;p=pazpar2-moved-to-github.git Added recid to full record view --- diff --git a/src/http_command.c b/src/http_command.c index edd6425..d03387d 100644 --- 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 @@ -327,6 +327,7 @@ static void cmd_record(struct http_channel *c) return; } wrbuf_puts(c->wrbuf, "\n"); + wrbuf_printf(c->wrbuf, "%d", rec->recid); write_metadata(c->wrbuf, service, rec->metadata, 1); wrbuf_puts(c->wrbuf, "\n"); rs->payload = nmem_strdup(c->nmem, wrbuf_buf(c->wrbuf));