mirror of
https://github.com/glest/glest-source.git
synced 2025-08-25 17:20:43 +02:00
- bugfix for compiling in VC++
This commit is contained in:
@@ -667,6 +667,7 @@ LOCAL int ftpCmdPasv(int sessionId, const char* args, int len)
|
||||
uint32_t ip;
|
||||
char str[50];
|
||||
socket_t s;
|
||||
uint32_t remoteFTPServerIp;
|
||||
|
||||
if(ftpGetSession(sessionId)->passiveDataSocket >= 0)
|
||||
{
|
||||
@@ -688,7 +689,7 @@ LOCAL int ftpCmdPasv(int sessionId, const char* args, int len)
|
||||
ftpAddUPNPPortForward(port, port);
|
||||
}
|
||||
|
||||
ip_t remoteFTPServerIp = ftpFindExternalFTPServerIp(ftpGetSession(sessionId)->remoteIp);
|
||||
remoteFTPServerIp = ftpFindExternalFTPServerIp(ftpGetSession(sessionId)->remoteIp);
|
||||
|
||||
sprintf(str, "%s (%d,%d,%d,%d,%d,%d)",
|
||||
ftpMsg029,
|
||||
|
Reference in New Issue
Block a user