diff options
| author | 2008-07-30 23:05:38 -0700 | |
|---|---|---|
| committer | 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) { | |||
| 31 | file = afc_get_file_info(afc, path); | 31 | file = afc_get_file_info(afc, path); |
| 32 | if (!file){ | 32 | if (!file){ |
| 33 | res = -ENOENT; | 33 | res = -ENOENT; |
| 34 | return res; | ||
| 34 | } | 35 | } |
| 35 | 36 | ||
| 36 | stbuf->st_mode = file->type | 0444; | 37 | stbuf->st_mode = file->type | 0444; |
