mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-01-27 14:03:36 +03:00
added a close for the local file descriptor (bug 137474)
* nanohttp.c: added a close for the local file descriptor (bug 137474)
This commit is contained in:
parent
32b7cdb6b7
commit
20d823614e
@ -1,3 +1,8 @@
|
||||
Wed Mar 17 16:37:22 HKT 2004 William Brack <wbrack@mmm.com.hk>
|
||||
|
||||
* nanohttp.c: added a close for the local file descriptor
|
||||
(bug 137474)
|
||||
|
||||
Mon Mar 15 15:46:59 CET 2004 Daniel Veillard <daniel@veillard.com>
|
||||
|
||||
* xmlsave.c: switched the output routines to use the new context.
|
||||
|
@ -1588,6 +1588,7 @@ xmlNanoHTTPSave(void *ctxt, const char *filename) {
|
||||
}
|
||||
|
||||
xmlNanoHTTPClose(ctxt);
|
||||
close(fd);
|
||||
return(0);
|
||||
}
|
||||
#endif /* LIBXML_OUTPUT_ENABLED */
|
||||
|
Loading…
x
Reference in New Issue
Block a user