forked from pool/libimobiledevice
For dimstar, because he asked so nicely. OBS-URL: https://build.opensuse.org/request/show/70132 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libimobiledevice?expand=0&rev=10
14 lines
524 B
Diff
14 lines
524 B
Diff
diff --git a/tools/idevicebackup2.c b/tools/idevicebackup2.c
|
|
index 574155f..b57f86c 100644
|
|
--- a/tools/idevicebackup2.c
|
|
+++ b/tools/idevicebackup2.c
|
|
@@ -910,7 +910,7 @@ static void mb2_handle_list_directory(plist_t message, const char *backup_dir)
|
|
gchar *fpath = g_build_filename(path, dir_file, NULL);
|
|
if (fpath) {
|
|
plist_t fdict = plist_new_dict();
|
|
- GStatBuf st;
|
|
+ struct stat st;
|
|
g_stat(fpath, &st);
|
|
const char *ftype = "DLFileTypeUnknown";
|
|
if (g_file_test(fpath, G_FILE_TEST_IS_DIR)) {
|