# HG changeset patch # User zas_ # Date 1211328941 0 # Node ID e291995a7dc27c6fddd3df1d21cc758a64156786 # Parent d4a68dfa6819e5138a39016af3fc33f28a565943 Use g_build_filename() instead of g_strconcat(). diff -r d4a68dfa6819 -r e291995a7dc2 src/remote.c --- a/src/remote.c Wed May 21 00:13:12 2008 +0000 +++ b/src/remote.c Wed May 21 00:15:41 2008 +0000 @@ -699,7 +699,7 @@ gint started = FALSE; gchar *buf; - buf = g_strconcat(homedir(), "/", GQ_RC_DIR, "/.command", NULL); + buf = g_build_filename(homedir(), GQ_RC_DIR, ".command", NULL); rc = remote_client_open(buf); if (!rc) {