Explorar el Código

Fix HTTPServer bug

Stan hace 1 día
padre
commit
e3feefb0aa
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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