cvs: php-src /ext/mime_magic mime_magic.c
| From: | Ilia Alshanetsky | Date: | Mon, 11 Jul 2005 03:24:29 +0000 |
| Subject: | cvs: php-src /ext/mime_magic mime_magic.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-32858@lists.php.net to get a copy of this message | ||
iliaa Sun Jul 10 23:24:29 2005 EDT
Modified files:
/php-src/ext/mime_magic mime_magic.c
Log:
Compiler warning fix.
http://cvs.php.net/diff.php/php-src/ext/mime_magic/mime_magic.c?r1=1.40&r2=1.41&ty=u
Index: php-src/ext/mime_magic/mime_magic.c
diff -u php-src/ext/mime_magic/mime_magic.c:1.40 php-src/ext/mime_magic/mime_magic.c:1.41
--- php-src/ext/mime_magic/mime_magic.c:1.40 Tue May 24 23:05:47 2005
+++ php-src/ext/mime_magic/mime_magic.c Sun Jul 10 23:24:28 2005
@@ -15,7 +15,7 @@
| Author: Hartmut Holzgraefe <hholzgra@php.net> |
+----------------------------------------------------------------------+
- $Id: mime_magic.c,v 1.40 2005/05/25 03:05:47 iliaa Exp $
+ $Id: mime_magic.c,v 1.41 2005/07/11 03:24:28 iliaa Exp $
This module contains a lot of stuff taken from Apache mod_mime_magic,
so the license section is a little bit longer than usual:
@@ -1073,6 +1073,8 @@
streampos = php_stream_tell(stream); /* remember stream position for restauration */
php_stream_seek(stream, 0, SEEK_SET);
break;
+ default:
+ return -1;
}