VirtualBox

Changeset 82770 in vbox for trunk/src/VBox/Runtime/tools


Ignore:
Timestamp:
Jan 15, 2020 2:34:38 PM (5 years ago)
Author:
vboxsync
Message:

IPRT/FTP: More work on data connection handling. bugref:9646

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/tools/RTFTPServer.cpp

    r82732 r82770  
    4747#include <iprt/assert.h>
    4848#include <iprt/ctype.h>
    49 #include <iprt/errcore.h>
     49#include <iprt/err.h>
    5050#include <iprt/file.h>
    5151#include <iprt/getopt.h>
     
    305305}
    306306
    307 static DECLCALLBACK(int) onList(PRTFTPCALLBACKDATA pData, const char *pcszPath, void **ppvData, size_t *pcbData)
    308 {
    309     RT_NOREF(pData, pcszPath, ppvData, pcbData);
    310 
    311     return VINF_SUCCESS;
     307static DECLCALLBACK(int) onList(PRTFTPCALLBACKDATA pData, const char *pcszPath, void *pvData, size_t cbData, size_t *pcbRead)
     308{
     309    RT_NOREF(pData, pcszPath, pvData, cbData, pcbRead);
     310
     311    return VINF_EOF;
    312312}
    313313
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette