diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-07-15 17:50:11 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-07-15 17:50:11 +0000 |
commit | 222b8e67435e41869802d3becd4060e9f65f9c9f (patch) | |
tree | 5c83069dd56b20f4d5d1b9790e9aa5c50292d27f /cmd-confirm-before.c | |
parent | d6908dd9c2dcf4262632692ea554ff4fa4d99bee (diff) |
Make status_message_set a variadic printf-like function. No functional change -
helpful for a couple of things coming soon.
Diffstat (limited to 'cmd-confirm-before.c')
-rw-r--r-- | cmd-confirm-before.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd-confirm-before.c b/cmd-confirm-before.c index dd3e88e7..2222d696 100644 --- a/cmd-confirm-before.c +++ b/cmd-confirm-before.c @@ -1,4 +1,4 @@ -/* $Id: cmd-confirm-before.c,v 1.5 2009-07-14 06:43:32 nicm Exp $ */ +/* $Id: cmd-confirm-before.c,v 1.6 2009-07-15 17:50:11 nicm Exp $ */ /* * Copyright (c) 2009 Tiago Cunha <me@tiagocunha.org> @@ -113,7 +113,7 @@ cmd_confirm_before_callback(void *data, const char *s) if (cmd_string_parse(cdata->cmd, &cmdlist, &cause) != 0) { if (cause != NULL) { *cause = toupper((u_char) *cause); - status_message_set(c, cause); + status_message_set(c, "%s", cause); xfree(cause); } goto out; |