]> granicus.if.org Git - php/commitdiff
cosmetics
authorStig Bakken <ssb@php.net>
Tue, 22 Jun 1999 11:04:35 +0000 (11:04 +0000)
committerStig Bakken <ssb@php.net>
Tue, 22 Jun 1999 11:04:35 +0000 (11:04 +0000)
main/fopen_wrappers.c

index abc153306f38f40387f9adef1a65ab64c4009cbb..0815f68810caf81e93a3331356f5baa2c37ec494 100644 (file)
@@ -572,7 +572,7 @@ static FILE *php3_fopen_url_wrapper(const char *path, char *mode, int options, i
                if (!SOCK_FEOF(*socketd)) {
                        /* get response header */
                        if (SOCK_FGETS(tmp_line, sizeof(tmp_line), *socketd) != NULL) {
-                               if (strncmp(tmp_line + 8, " 200 ", 5) == NULL) {
+                               if (strncmp(tmp_line + 8, " 200 ", 5) == 0) {
                                        reqok = 1;
                                }
                        }