summaryrefslogtreecommitdiffstats
path: root/src/userpref.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/userpref.c')
-rw-r--r--src/userpref.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/userpref.c b/src/userpref.c
index 49a3c45..0a9086b 100644
--- a/src/userpref.c
+++ b/src/userpref.c
@@ -127,7 +127,7 @@ int store_device_public_key(char* public_key)
guint length = 0;
guint wlength = 0;
if (devices_list)
- g_strv_length(devices_list);
+ length = g_strv_length(devices_list);
g_strfreev(devices_list);
gchar dev_file[20];