+ /* TODO: Right now we leak this memory. We should probably clean up in
+ * kvstore_destroy, but it's not a big deal. */
+ const gchar *host = "127.0.0.1", *port = "9090";
+ if (path != NULL) {
+ gchar **target = g_strsplit(path, ":", 0);
+ if (target[0] != NULL) {
+ host = target[0];
+ if (target[1] != NULL) {
+ port = target[1];
+ }
+ }
+ }
+