summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMarkus Grüneis <gimpf@gimpf.org>2014-10-24 15:18:03 +0200
committerMarkus Grüneis <gimpf@gimpf.org>2014-10-24 15:18:03 +0200
commit248ab55716812ea9d1e73c9d4fd80874eca59bd4 (patch)
tree4ee0a27d273b3cd114b2c3749bcd91fc7d6ad15b /src
parenthub: Fix query for GetUpdatesAfter(id) (diff)
hub: Fix http response for lastupdate/:id
Diffstat (limited to 'src')
-rw-r--r--src/hub/src/spreadspace.org/sfive/s5srvWeb.go2
1 files changed, 1 insertions, 1 deletions
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)
}
}