diff options
author | Alexey Yakovenko <waker@users.sourceforge.net> | 2014-06-24 22:50:35 +0200 |
---|---|---|
committer | Alexey Yakovenko <waker@users.sourceforge.net> | 2014-06-24 22:50:35 +0200 |
commit | a9c64cfd3db24a00fc4ff5159599ad1d3e31343b (patch) | |
tree | d994ebfa0fd73438dc5e47ed5561b1761a8ceedb | |
parent | ae84edafff17ee464e537fbe91ed41e9b5806d7e (diff) |
liboggedit: added missing curly braces
-rw-r--r-- | plugins/liboggedit/oggedit_internal.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/liboggedit/oggedit_internal.c b/plugins/liboggedit/oggedit_internal.c index f3c9b2d9..c8257da5 100644 --- a/plugins/liboggedit/oggedit_internal.c +++ b/plugins/liboggedit/oggedit_internal.c @@ -142,8 +142,9 @@ int open_temp_file(const char *fname, char *tempname, FILE **out) return OGGEDIT_CANNOT_OPEN_TEMPORARY_FILE; struct stat stat_struct; - if (!stat(fname, &stat_struct)) + if (!stat(fname, &stat_struct)) { chmod(tempname, stat_struct.st_mode); + } return 0; } |