]> Git Repo - nginxcraft-nginx-module.git/commitdiff
fix broken print in parse_minecraft
authorJesse Taube <[email protected]>
Mon, 6 May 2024 04:42:52 +0000 (00:42 -0400)
committerJesse Taube <[email protected]>
Mon, 6 May 2024 16:31:05 +0000 (12:31 -0400)
src/parse_minecraft.c

index 1180eba001a5cd9b0891ee35b7646ab48be5dd65..447228fcdb9aa63bf478fe55355f5f95f30052d6 100644 (file)
@@ -171,7 +171,7 @@ ngx_int_t ngx_stream_nginxcraft_parse(
     ngx_snprint_uint(&vars->minecraft_port, 6, handshake.serv_Port);
     ngx_snprint_int(&vars->minecraft_version, 11, handshake.protocolVersion);
 
-    ngx_log_debug(NGX_LOG_DEBUG_STREAM, ctx->log, 0, "nginxcraft parse: %s",  ctx->host.data);
+    ngx_log_debug(NGX_LOG_DEBUG_STREAM, ctx->log, 0, "nginxcraft parse: %V",  &ctx->host);
 
     return NGX_OK;
 }
This page took 0.033237 seconds and 4 git commands to generate.