]> granicus.if.org Git - php/commitdiff
Fixed bugs: #10297, #10615, #10783, #10880
authorfoobar <sniper@php.net>
Wed, 16 May 2001 04:50:49 +0000 (04:50 +0000)
committerfoobar <sniper@php.net>
Wed, 16 May 2001 04:50:49 +0000 (04:50 +0000)
ext/standard/image.c

index d15ff4d54551609ce9716ee0da32711ea0d3d3c0..6ede7aa0c54d4634657ed26a6024f86e4b7612f3 100644 (file)
@@ -242,15 +242,6 @@ static unsigned int php_next_marker(int socketd, FILE *fp, int issock)
 {
        int c;
 
-       /* skip unimportant stuff */
-
-       c = FP_FGETC(socketd,fp,issock);
-
-       while (c != 0xff) {
-               if ((c = FP_FGETC(socketd,fp,issock)) == EOF)
-                       return M_EOI; /* we hit EOF */
-       }
-
        /* get marker byte, swallowing possible padding */
        do {
                if ((c = FP_FGETC(socketd,fp,issock)) == EOF)