diff options
author | 2009-05-20 20:17:37 +0100 | |
---|---|---|
committer | 2009-05-20 20:17:37 +0100 | |
commit | 4703bc465a3931d7e392025b3106126766dc0f66 (patch) | |
tree | 178304c0c5fda2f05c54644ededdafabbab6c2c7 | |
parent | fdba6ee536422f502e20c52b54641e0277b56ed7 (diff) |
Fixed dodgy socket path.
-rw-r--r-- | uzbl.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -212,7 +212,7 @@ gchar* parseenv (const char* string) { gchar** env = g_strsplit (environ[i], "=", 0); gchar* envname = g_strconcat ("$", env[0], NULL); - if (g_strrstr (newstring, envname)) { + if (g_strrstr (newstring, envname) != NULL) { newstring = str_replace(envname, env[1], newstring); } @@ -1132,7 +1132,7 @@ static void cmd_socket_dir() { char *buf; - buf = init_socket(uzbl.behave.fifo_dir); + buf = init_socket(uzbl.behave.socket_dir); if(uzbl.behave.socket_dir) g_free(uzbl.behave.socket_dir); |