From 6e5422b0e328fa477389d3365e52e231f864ead4 Mon Sep 17 00:00:00 2001 From: Michael Jumper Date: Mon, 22 Oct 2012 15:05:01 -0700 Subject: [PATCH] Fix error message ordering. --- guacd/src/log.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/guacd/src/log.c b/guacd/src/log.c index 99f619b4..d9efda1c 100644 --- a/guacd/src/log.c +++ b/guacd/src/log.c @@ -106,8 +106,8 @@ void guacd_log_guac_error(const char* message) { if (guac_error_message != NULL) guacd_log_error("%s: %s: %s", message, - guac_error_message, - guac_status_string(guac_error)); + guac_status_string(guac_error), + guac_error_message); /* Otherwise just log with standard status string */ else @@ -123,8 +123,8 @@ void guacd_client_log_guac_error(guac_client* client, const char* message) { if (guac_error_message != NULL) guac_client_log_error(client, "%s: %s: %s", message, - guac_error_message, - guac_status_string(guac_error)); + guac_status_string(guac_error), + guac_error_message); /* Otherwise just log with standard status string */ else