gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] /srv/bzr/gnash/rtmp r9961: return an error if the file do


From: rob
Subject: [Gnash-commit] /srv/bzr/gnash/rtmp r9961: return an error if the file doesn't exist.
Date: Sat, 31 Jan 2009 17:24:01 +1100
User-agent: Bazaar (1.5)

------------------------------------------------------------
revno: 9961
committer: address@hidden
branch nick: rtmp
timestamp: Sat 2009-01-31 17:24:01 +1100
message:
  return an error if the file doesn't exist.
modified:
  libnet/diskstream.cpp
=== modified file 'libnet/diskstream.cpp'
--- a/libnet/diskstream.cpp     2008-12-01 15:43:33 +0000
+++ b/libnet/diskstream.cpp     2009-01-31 06:24:01 +0000
@@ -463,6 +463,7 @@
                 (long long int) _filesize);
     } else {
        log_error (_("File %s doesn't exist"), _filespec);
+       return false;
     }
     
 #ifdef USE_STATS_CACHE
@@ -694,6 +695,7 @@
        }
       } else {
        _filetype = FILETYPE_NONE;
+       return false;
       } // end of stat()
       
       _filesize = st.st_size;


reply via email to

[Prev in Thread] Current Thread [Next in Thread]