[vlc-commits] commit: file.c: Typo fix (Joseph S. Atkinson )

git at videolan.org git at videolan.org
Tue Jun 22 08:21:09 CEST 2010


vlc | branch: master | Joseph S. Atkinson <jsa at wickedmachine.net> | Tue Jun 22 08:19:52 2010 +0200| [e06d5fd0dd06e5dbd4456974d0225c386b083569] | committer: Rafaël Carré 

file.c: Typo fix

Signed-off-by: Rafaël Carré <rafael.carre at gmail.com>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e06d5fd0dd06e5dbd4456974d0225c386b083569
---

 THANKS                |    1 +
 modules/access/file.c |    2 +-
 2 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/THANKS b/THANKS
index 0e0d009..7bbcd73 100644
--- a/THANKS
+++ b/THANKS
@@ -180,6 +180,7 @@ John Paul Lorenti <jpl31 at columbia.edu> - ALSA device selection patch
 Jon Stødle <jonstodle at gmail.com> - Norwegian Nynorsk translation
 Jonas Larsen <jonas at vrt.dk> - Danish translation
 Jörg <vlc-ml at aab.noctis dot de> - VLM seek/show media functions
+Joseph S. Atkinson - FreeBSD port / patches
 Joseph Tulou <brezhoneg1 at yahoo.fr> - small dc1394 patch, image demuxer
 Jouni Kähkönen - Finnish translation
 Julien Blache <jb at technologeek.org> - disc ejection code
diff --git a/modules/access/file.c b/modules/access/file.c
index 245fb9f..9d3de77 100644
--- a/modules/access/file.c
+++ b/modules/access/file.c
@@ -96,7 +96,7 @@ static bool IsRemote (int fd)
     if (fstatvfs (fd, &stf))
         return false;
     /* fstatvfs() is in POSIX, but MNT_LOCAL is not */
-    return !(s.f_flag & MNT_LOCAL);
+    return !(stf.f_flag & MNT_LOCAL);
 
 #elif defined (HAVE_LINUX_MAGIC_H)
     struct statfs stf;



More information about the vlc-commits mailing list