mirror of
https://github.com/reactos/reactos.git
synced 2025-07-31 12:11:42 +00:00
[rosapps]
- Avoid old crt names usage, by Caemyr/kjk_hyperion. svn path=/trunk/; revision=44107
This commit is contained in:
parent
94d60cdacc
commit
effa38586c
10 changed files with 25 additions and 25 deletions
|
@ -1075,14 +1075,14 @@ FTPRebuildConnectionInfo(const FTPLIPtr lip, const FTPCIPtr cip)
|
|||
/* Reattach the FILE pointers for use with the Std I/O library
|
||||
* routines.
|
||||
*/
|
||||
if ((cip->cin = fdopen(cip->ctrlSocketR, "r")) == NULL) {
|
||||
if ((cip->cin = _fdopen(cip->ctrlSocketR, "r")) == NULL) {
|
||||
cip->errNo = kErrFdopenR;
|
||||
cip->ctrlSocketR = kClosedFileDescriptor;
|
||||
cip->ctrlSocketW = kClosedFileDescriptor;
|
||||
return (kErrFdopenR);
|
||||
}
|
||||
|
||||
if ((cip->cout = fdopen(cip->ctrlSocketW, "w")) == NULL) {
|
||||
if ((cip->cout = _fdopen(cip->ctrlSocketW, "w")) == NULL) {
|
||||
CloseFile(&cip->cin);
|
||||
cip->errNo = kErrFdopenW;
|
||||
cip->ctrlSocketR = kClosedFileDescriptor;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue