i3bar: ignore the "socket_path" config option (redundant anyway)

This commit is contained in:
Michael Stapelberg 2012-01-20 22:29:10 +00:00
parent 45b4d71a0b
commit 1d5071ebbe
1 changed files with 2 additions and 2 deletions

View File

@ -67,8 +67,8 @@ static int config_string_cb(void *params_, const unsigned char *val, size_t _len
static int config_string_cb(void *params_, const unsigned char *val, unsigned int _len) {
#endif
int len = (int)_len;
/* The id is ignored, we already have it in config.bar_id */
if (!strcmp(cur_key, "id"))
/* The id and socket_path are ignored, we already know them. */
if (!strcmp(cur_key, "id") || !strcmp(cur_key, "socket_path"))
return 1;
if (!strcmp(cur_key, "mode")) {