From 248ab55716812ea9d1e73c9d4fd80874eca59bd4 Mon Sep 17 00:00:00 2001 From: Markus Grüneis Date: Fri, 24 Oct 2014 15:18:03 +0200 Subject: hub: Fix http response for lastupdate/:id --- src/hub/src/spreadspace.org/sfive/s5srvWeb.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/hub/src/spreadspace.org/sfive/s5srvWeb.go b/src/hub/src/spreadspace.org/sfive/s5srvWeb.go index f205fe7..e13f1a5 100644 --- a/src/hub/src/spreadspace.org/sfive/s5srvWeb.go +++ b/src/hub/src/spreadspace.org/sfive/s5srvWeb.go @@ -174,7 +174,7 @@ func (self StatsSinkServer) getLastUpdateIdForUuid(c web.C, w http.ResponseWrite return } if value != nil { - fmt.Fprintf(w, "%s", value) + fmt.Fprintf(w, "%d", *value) } } -- cgit v1.2.3