diff options
author | Benjamin Barenblat <bbaren@mit.edu> | 2016-10-23 11:45:23 -0400 |
---|---|---|
committer | Benjamin Barenblat <bbaren@mit.edu> | 2016-10-23 11:45:23 -0400 |
commit | e0d00f10c50104ce1a77d035c9c2fc14545c0b92 (patch) | |
tree | e70bdc4879a8cdaf77dce5ff389d8e73cfddd4c3 /src/remote-exec.c | |
parent | 4e526acfb28ca68322009c5a958b9926cf3c8413 (diff) | |
parent | 7c29748eee49c59ad09831924f4bbefc9b7ee5f5 (diff) |
Merge branch 'upstream'
Diffstat (limited to 'src/remote-exec.c')
-rw-r--r-- | src/remote-exec.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/remote-exec.c b/src/remote-exec.c index edf75f2..774c266 100644 --- a/src/remote-exec.c +++ b/src/remote-exec.c @@ -17,6 +17,10 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <glib.h> #include <gtk/gtk.h> #include <json-glib/json-glib.h> @@ -26,6 +30,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 +58,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(""); |