summaryrefslogtreecommitdiffstats
path: root/src/ifuse.c
diff options
context:
space:
mode:
authorGravatar Matt Colyer2008-08-05 23:25:35 -0700
committerGravatar Matt Colyer2008-08-05 23:28:10 -0700
commit25e85bf5362b6f4c1878665c6037fdbfdc25c155 (patch)
tree437979cdb4b9a7958a3d891d6a39a7be2bf61d17 /src/ifuse.c
parent4b558a53f61005b0ca49665d2da92303f6e14872 (diff)
downloadlibimobiledevice-25e85bf5362b6f4c1878665c6037fdbfdc25c155.tar.gz
libimobiledevice-25e85bf5362b6f4c1878665c6037fdbfdc25c155.tar.bz2
Zack's final changes to the pairing.
Diffstat (limited to 'src/ifuse.c')
-rw-r--r--src/ifuse.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/ifuse.c b/src/ifuse.c
index 900bb17..f33eaaa 100644
--- a/src/ifuse.c
+++ b/src/ifuse.c
@@ -52,13 +52,12 @@ static int ifuse_getattr(const char *path, struct stat *stbuf) {
52 file = afc_get_file_info(afc, path); 52 file = afc_get_file_info(afc, path);
53 if (!file){ 53 if (!file){
54 res = -ENOENT; 54 res = -ENOENT;
55 return res; 55 } else {
56 stbuf->st_mode = file->type | 0444;
57 stbuf->st_size = file->size;
58 //stbuf->st_nlink = 2;
56 } 59 }
57 60
58 stbuf->st_mode = file->type | 0444;
59 stbuf->st_size = file->size;
60 //stbuf->st_nlink = 2;
61
62 return res; 61 return res;
63} 62}
64 63