diff options
-rw-r--r-- | ext/standard/image.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/ext/standard/image.c b/ext/standard/image.c index d15ff4d545..6ede7aa0c5 100644 --- a/ext/standard/image.c +++ b/ext/standard/image.c @@ -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) |