From: Stig Bakken Date: Tue, 22 Jun 1999 11:04:35 +0000 (+0000) Subject: cosmetics X-Git-Tag: BEFORE_REMOVING_GC_STEP1~102 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8139b776e9cab130cb849ef6e64388ad0b20b474;p=php cosmetics --- diff --git a/main/fopen_wrappers.c b/main/fopen_wrappers.c index abc153306f..0815f68810 100644 --- a/main/fopen_wrappers.c +++ b/main/fopen_wrappers.c @@ -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; } }