diff options
| author | 2008-08-11 21:33:51 +0200 | |
|---|---|---|
| committer | 2008-08-12 00:16:47 -0700 | |
| commit | 2448b82a1844fbe7cf93bf357152d4936d0c9a4a (patch) | |
| tree | ae258eb110e132d592860f98731ad8bf8652b6d8 | |
| parent | 13ebf5ea40d7094cce1e57f37e8e308429265c4a (diff) | |
| download | libimobiledevice-2448b82a1844fbe7cf93bf357152d4936d0c9a4a.tar.gz libimobiledevice-2448b82a1844fbe7cf93bf357152d4936d0c9a4a.tar.bz2 | |
fix length of known devices
| -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 49a3c45..0a9086b 100644 --- a/src/userpref.c +++ b/src/userpref.c | |||
| @@ -127,7 +127,7 @@ int store_device_public_key(char* public_key) | |||
| 127 | guint length = 0; | 127 | guint length = 0; |
| 128 | guint wlength = 0; | 128 | guint wlength = 0; |
| 129 | if (devices_list) | 129 | if (devices_list) |
| 130 | g_strv_length(devices_list); | 130 | length = g_strv_length(devices_list); |
| 131 | g_strfreev(devices_list); | 131 | g_strfreev(devices_list); |
| 132 | 132 | ||
| 133 | gchar dev_file[20]; | 133 | gchar dev_file[20]; |
