diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 2000-08-25 01:41:14 -0400 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 2000-08-25 01:41:14 -0400 |
commit | 1a6a3318d96d97c4cc8d9fc827e930b3cfb22085 (patch) | |
tree | ef3eb0b7ce0306f73717f6cc3da54835a904d9ad /src/LYNews.c | |
parent | 0726d2fa354eae3a7913d3ea28f19115ca904e02 (diff) | |
download | lynx-snapshots-1a6a3318d96d97c4cc8d9fc827e930b3cfb22085.tar.gz |
snapshot of project "lynx", label v2-8-4dev_8
Diffstat (limited to 'src/LYNews.c')
-rw-r--r-- | src/LYNews.c | 14 |
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'; |