Avoid a potential crash when debugging
This commit is contained in:
parent
24e0b47aa8
commit
f07fe73b04
|
@ -200,8 +200,8 @@ AppTransport * apptransport_new_plugin(AppTransportMode mode,
|
||||||
AppTransport * apptransport;
|
AppTransport * apptransport;
|
||||||
|
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
fprintf(stderr, "DEBUG: %s(%u, \"%s\", \"%s\", %p)\n", __func__, mode,
|
fprintf(stderr, "DEBUG: %s(%u, %p, \"%s\", %p)\n", __func__, mode,
|
||||||
plugin, name, (void *)event);
|
(void *)plugin, name, (void *)event);
|
||||||
#endif
|
#endif
|
||||||
/* check the arguments */
|
/* check the arguments */
|
||||||
if(plugin == NULL)
|
if(plugin == NULL)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user