Sfoglia il codice sorgente

Fix HTTPServer bug

Stan 1 giorno fa
parent
commit
e3feefb0aa
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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