X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=src%2Fhelper%2Fcommand.c;h=ec1d637f15abebca01d195eaf5869eacf32fecb0;hp=bea480cc9361423a95eaca2edb1827e6c74bba6f;hb=e43979e7020ea9d05a3c0a2af444f292eacb6c53;hpb=8591335ba6556d788999ac29f1efbdbe0cb3554a diff --git a/src/helper/command.c b/src/helper/command.c index bea480cc93..ec1d637f15 100644 --- a/src/helper/command.c +++ b/src/helper/command.c @@ -348,7 +348,7 @@ int unregister_command(command_context_t *context, char *name) void command_output_text(command_context_t *context, const char *data) { - if( context && context->output_handler && data ){ + if ( context && context->output_handler && data ){ context->output_handler( context, data ); } }