Ver código fonte

Fix HTTPServer bug

Stan 1 dia atrás
pai
commit
e3feefb0aa
1 arquivos alterados com 1 adições e 1 exclusões
  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