Parcourir la source

Fix HTTPServer bug

Stan il y a 23 heures
Parent
commit
e3feefb0aa
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      http_server.go

+ 1 - 1
http_server.go

@@ -131,7 +131,7 @@ func (this *HTTPServer) ServeHTTP(responseStream http.ResponseWriter, requestStr
 	}
 
 	handler := HTTPServerHandler{}
-	copyStruct(handler, handlerSpec)
+	copyStruct(&handler, &handlerSpec)
 	handlerSpec = handler
 
 	// Parse GET query