about summary refs log tree commit diff stats
path: root/src/LYNews.c
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>2000-08-25 01:41:14 -0400
committerThomas E. Dickey <dickey@invisible-island.net>2000-08-25 01:41:14 -0400
commit1a6a3318d96d97c4cc8d9fc827e930b3cfb22085 (patch)
treeef3eb0b7ce0306f73717f6cc3da54835a904d9ad /src/LYNews.c
parent0726d2fa354eae3a7913d3ea28f19115ca904e02 (diff)
downloadlynx-snapshots-1a6a3318d96d97c4cc8d9fc827e930b3cfb22085.tar.gz
snapshot of project "lynx", label v2-8-4dev_8
Diffstat (limited to 'src/LYNews.c')
-rw-r--r--src/LYNews.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/LYNews.c b/src/LYNews.c
index 7211ffe0..119b4bf8 100644
--- a/src/LYNews.c
+++ b/src/LYNews.c
@@ -69,7 +69,7 @@ PRIVATE BOOLEAN message_has_content ARGS2(
 	}
 	if (firstnonblank && firstnonblank != '>') {
 	    if (!in_headers) {
-		fclose(fp);
+		LYCloseInput(fp);
 		FREE(buffer);
 		return TRUE;
 	    }
@@ -79,7 +79,7 @@ PRIVATE BOOLEAN message_has_content ARGS2(
 	}
     }
     FREE(buffer);
-    fclose(fp);
+    LYCloseInput(fp);
     return FALSE;
 }
 
@@ -291,7 +291,7 @@ PUBLIC char *LYNewsPost ARGS2(
 	    }
 	}
 	FREE(buffer);
-	fclose(fp);
+	LYCloseInput(fp);
     }
 #else
 #ifdef _WINDOWS	/* 1998/05/14 (Thu) 17:47:01 */
@@ -311,7 +311,7 @@ PUBLIC char *LYNewsPost ARGS2(
 			StrAllocCat(cp, user_input);
 		    }
 		}
-		fclose(fp);
+		LYCloseInput(fp);
 	    }
 	}
     }
@@ -457,10 +457,10 @@ PUBLIC char *LYNewsPost ARGS2(
 		while (LYSafeGets(&buffer, fp) != NULL) {
 		    fputs(buffer, fd);
 		}
-		fclose(fd);
+		LYCloseOutput(fd);
 	    }
 	}
-	fclose(fp);
+	LYCloseInput(fp);
 	FREE(msg);
 	LYStatusLine = -1;
     }
@@ -483,7 +483,7 @@ PUBLIC char *LYNewsPost ARGS2(
 	    }
 	    LYCloseTempFP(fc);
 	    StrAllocCopy(postfile, CJKfile);
-	    fclose(fd);
+	    LYCloseInput(fd);
 	    LYRemoveTemp(my_tempfile);
 	    strcpy(my_tempfile, CJKfile);
 	    CJKfile[0] = '\0';