diff options
Diffstat (limited to 'cmd-command-prompt.c')
-rw-r--r-- | cmd-command-prompt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd-command-prompt.c b/cmd-command-prompt.c index 3cc5b2fb..41bbe01d 100644 --- a/cmd-command-prompt.c +++ b/cmd-command-prompt.c @@ -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); } |