From a949cb6b8155189079ee75f5953ef0eba72b5cae Mon Sep 17 00:00:00 2001 From: Marius Date: Mon, 22 Feb 2016 13:58:05 +0100 Subject: [PATCH] Set proper offset for complete notifications --- unrouted_handler.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unrouted_handler.go b/unrouted_handler.go index a44a1fe..38fb6b1 100644 --- a/unrouted_handler.go +++ b/unrouted_handler.go @@ -415,7 +415,7 @@ func (handler *UnroutedHandler) PatchFile(w http.ResponseWriter, r *http.Request // ... send the info out to the channel if handler.config.NotifyCompleteUploads { - info.Size = newOffset + info.Offset = newOffset handler.CompleteUploads <- info } }