comparison src/html.c @ 35:c8854c4b66cc

[gaim-migrate @ 44] Fixed a funky EOF bug :) committer: Tailor Script <tailor@pidgin.im>
author Rob Flynn <gaim@robflynn.com>
date Sat, 25 Mar 2000 05:38:45 +0000
parents 2846a03bda67
children 5b28ef2b550e
comparison
equal deleted inserted replaced
34:194dfab29679 35:c8854c4b66cc
133 fputs(buf, sockfile); 133 fputs(buf, sockfile);
134 134
135 webdata = NULL; 135 webdata = NULL;
136 len = 0; 136 len = 0;
137 137
138 while ((data = fgetc(sockfile)) != -1) { 138 while ((data = fgetc(sockfile)) != EOF) {
139 if (!data) 139 if (!data)
140 continue; 140 continue;
141 141
142 if (!startsaving && data == '<') { 142 if (!startsaving && data == '<') {
143 #ifdef HAVE_STRSTR 143 #ifdef HAVE_STRSTR