Skip to content

Commit 11f8fe9

Browse files
committed
OpenAPI: delete redundant newline in trace output
Signed-off-by: Masatake YAMATO <[email protected]>
1 parent 230b6be commit 11f8fe9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

parsers/openapi.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -276,15 +276,15 @@ static void openapiPlayStateMachine (struct sOpenAPISubparser *openapi,
276276
switch (openapi->play_detection_state)
277277
{
278278
case DSTAT_LAST_KEY:
279-
TRACE_PRINT(" key: %s\n", (char*)token->data.scalar.value);
279+
TRACE_PRINT(" key: %s", (char*)token->data.scalar.value);
280280
if (openapi->type_stack)
281281
{
282282
openapi->type_stack->key = parseKey(token);
283283
handleKey (openapi, token);
284284
}
285285
break;
286286
case DSTAT_LAST_VALUE:
287-
TRACE_PRINT(" value: %s\n", (char*)token->data.scalar.value);
287+
TRACE_PRINT(" value: %s", (char*)token->data.scalar.value);
288288
break;
289289
default:
290290
break;

0 commit comments

Comments
 (0)