summaryrefslogtreecommitdiff
path: root/src/util.c
diff options
context:
space:
mode:
authorGravatar Alan Fitton <ajf@eth0.org.uk>2011-09-14 11:08:34 +0000
committerGravatar Alan Fitton <ajf@eth0.org.uk>2011-09-14 11:08:34 +0000
commit8a020ef0e9acb803d48aca357879166269de6fa1 (patch)
tree37dd4c67f13aaddc89a65e01a4d7954705bea02f /src/util.c
parentedfa8191b63504e93815955273d1645a84eea873 (diff)
need to clear the free space and speed indicators if there's a disconnect due to error.
Diffstat (limited to 'src/util.c')
-rw-r--r--src/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util.c b/src/util.c
index 932ef25..85b3ee5 100644
--- a/src/util.c
+++ b/src/util.c
@@ -85,7 +85,7 @@ void trg_error_dialog(GtkWindow * parent, int status,
g_free((gpointer) msg);
}
-const gchar *make_error_message(JsonObject * response, int status)
+gchar *make_error_message(JsonObject * response, int status)
{
if (status == FAIL_JSON_DECODE) {
return g_strdup(_("JSON decoding error."));