diff options
author | Matt Colyer | 2008-07-30 23:05:38 -0700 |
---|---|---|
committer | Matt Colyer | 2008-07-30 23:05:38 -0700 |
commit | a5c2119e51f2d81be80fac08771f8ea50761661c (patch) | |
tree | a3aa1ba895edbf99dde3586b7b7e1b91fe5d09ca /src | |
parent | c9adedcc6ebd6e18572f794564b76d2080c1bd1c (diff) | |
download | libimobiledevice-a5c2119e51f2d81be80fac08771f8ea50761661c.tar.gz libimobiledevice-a5c2119e51f2d81be80fac08771f8ea50761661c.tar.bz2 |
Fixed a return that was supposed to be there (thanks to Martin who pointed it out).
Diffstat (limited to 'src')
-rw-r--r-- | src/ifuse.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ifuse.c b/src/ifuse.c index 1cfa48d..93467b3 100644 --- a/src/ifuse.c +++ b/src/ifuse.c @@ -31,6 +31,7 @@ static int ifuse_getattr(const char *path, struct stat *stbuf) { file = afc_get_file_info(afc, path); if (!file){ res = -ENOENT; + return res; } stbuf->st_mode = file->type | 0444; |