X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fhttp_command.c;h=1de0354a3401347f78b9c90f6996114d21a2e047;hb=fb19bc317370b4f4b508088b034b4c2d19257042;hp=1273b8b2a58777e0dde35f3c1751e57c98c8b45a;hpb=4fa5ef817d20e5b626751b8b12934453bb438cfd;p=pazpar2-moved-to-github.git diff --git a/src/http_command.c b/src/http_command.c index 1273b8b..1de0354 100644 --- a/src/http_command.c +++ b/src/http_command.c @@ -925,6 +925,9 @@ static void write_metadata(WRBUF w, struct conf_service *service, if (md->data.number.min != md->data.number.max) wrbuf_printf(w, "-%d", md->data.number.max); break; + case Metadata_type_float: + wrbuf_printf(w, "%f", md->data.fnumber); + break; default: wrbuf_puts(w, "[can't represent]"); break;