diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/userpref.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/userpref.c b/src/userpref.c index b930693..9dd1a01 100644 --- a/src/userpref.c +++ b/src/userpref.c | |||
| @@ -148,7 +148,7 @@ void userpref_get_host_id(char **host_id) | |||
| 148 | g_key_file_free(key_file); | 148 | g_key_file_free(key_file); |
| 149 | g_free(config_file); | 149 | g_free(config_file); |
| 150 | 150 | ||
| 151 | if (!host_id) { | 151 | if (!*host_id) { |
| 152 | /* no config, generate host_id */ | 152 | /* no config, generate host_id */ |
| 153 | *host_id = userpref_generate_host_id(); | 153 | *host_id = userpref_generate_host_id(); |
| 154 | userpref_set_host_id(*host_id); | 154 | userpref_set_host_id(*host_id); |
