Commit 2448b82a authored by Jonathan Beck's avatar Jonathan Beck Committed by Matt Colyer

fix length of known devices

parent 13ebf5ea
...@@ -127,7 +127,7 @@ int store_device_public_key(char* public_key) ...@@ -127,7 +127,7 @@ int store_device_public_key(char* public_key)
guint length = 0; guint length = 0;
guint wlength = 0; guint wlength = 0;
if (devices_list) if (devices_list)
g_strv_length(devices_list); length = g_strv_length(devices_list);
g_strfreev(devices_list); g_strfreev(devices_list);
gchar dev_file[20]; gchar dev_file[20];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment