From f07fe73b04ae656f97da1670f0f71e5275609691 Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Tue, 17 Nov 2020 07:12:41 +0100 Subject: [PATCH] Avoid a potential crash when debugging --- src/apptransport.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/apptransport.c b/src/apptransport.c index cf2887e..922e354 100644 --- a/src/apptransport.c +++ b/src/apptransport.c @@ -200,8 +200,8 @@ AppTransport * apptransport_new_plugin(AppTransportMode mode, AppTransport * apptransport; #ifdef DEBUG - fprintf(stderr, "DEBUG: %s(%u, \"%s\", \"%s\", %p)\n", __func__, mode, - plugin, name, (void *)event); + fprintf(stderr, "DEBUG: %s(%u, %p, \"%s\", %p)\n", __func__, mode, + (void *)plugin, name, (void *)event); #endif /* check the arguments */ if(plugin == NULL)