diff options
Diffstat (limited to 'src/remote-exec.c')
-rw-r--r-- | src/remote-exec.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/remote-exec.c b/src/remote-exec.c index edf75f2..00e47fa 100644 --- a/src/remote-exec.c +++ b/src/remote-exec.c @@ -26,6 +26,7 @@ #include "trg-prefs.h" #include "protocol-constants.h" #include "torrent.h" +#include "remote-exec.h" /* A few functions used to build local commands, otherwise known as actions. * @@ -53,7 +54,7 @@ static const char json_exceptions[] = { 0x7f, 0x80, 0x81, 0x82, 0x83, 0x84, static gchar *dump_json_value(JsonNode * node) { - GValue value = { 0, }; + GValue value = G_VALUE_INIT; GString *buffer; buffer = g_string_new(""); |