mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 14:16:07 -06:00
plugin/ftp/lib: fixed clang warning
git-svn-id: svn://ultimatepp.org/upp/trunk@15841 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
6cb8caa1c0
commit
c19b5b1421
2 changed files with 3 additions and 3 deletions
|
|
@ -526,7 +526,7 @@ GLOBALDEF int FtpConnect(const char *host, netbuf **nControl, char perror[],
|
|||
delete[] ctrl->buf;
|
||||
delete ctrl;
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
*nControl = ctrl;
|
||||
return 1;
|
||||
}
|
||||
|
|
@ -536,7 +536,7 @@ GLOBALDEF int FtpConnect(const char *host, netbuf **nControl, char perror[],
|
|||
*
|
||||
* returns 1 if successful, 0 on error
|
||||
*/
|
||||
GLOBALDEF int FtpOptions(int opt, long val, netbuf *nControl)
|
||||
GLOBALDEF int FtpOptions(int opt, uintptr_t val, netbuf *nControl)
|
||||
{
|
||||
int v,rv=0;
|
||||
switch (opt)
|
||||
|
|
|
|||
|
|
@ -62,7 +62,7 @@ GLOBALREF void FtpInit(void);
|
|||
GLOBALREF char *FtpLastResponse(netbuf *nControl);
|
||||
GLOBALREF int FtpConnect(const char *host, netbuf **nControl, char perror[512],
|
||||
FtpCallback idlecb, void *idledata, int idletime_msecs, int idletimeout_secs);
|
||||
GLOBALREF int FtpOptions(int opt, long val, netbuf *nControl);
|
||||
GLOBALREF int FtpOptions(int opt, uintptr_t val, netbuf *nControl);
|
||||
GLOBALREF int FtpLogin(const char *user, const char *pass, netbuf *nControl);
|
||||
GLOBALREF int FtpAccess(const char *path, int typ, int mode, netbuf *nControl,
|
||||
netbuf **nData);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue