Style nits and a missing cast.

This commit is contained in:
nicm
2017-04-19 12:44:29 +00:00
parent fa6deb5866
commit 689f4bfac2
3 changed files with 3 additions and 3 deletions

View File

@ -192,7 +192,7 @@ cmd_command_prompt_callback(void *data, const char *s, int done)
if (!done)
free(new_template);
if (c->prompt_callbackfn != (void *)&cmd_command_prompt_callback)
if (c->prompt_callbackfn != cmd_command_prompt_callback)
return (1);
return (0);
}