changeset 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 194dfab29679
children 7c6334dfab2b
files src/html.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/html.c	Sat Mar 25 04:56:45 2000 +0000
+++ b/src/html.c	Sat Mar 25 05:38:45 2000 +0000
@@ -135,7 +135,7 @@
         webdata = NULL;
         len = 0;
 	
-	while ((data = fgetc(sockfile)) != -1) {
+	while ((data = fgetc(sockfile)) != EOF) {
 		if (!data)
 			continue;