mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-04-01 19:45:52 -04:00
Fixed Windows compile.
This commit is contained in:
parent
b5f6059485
commit
748147f73b
@ -25,6 +25,7 @@
|
||||
|
||||
#ifdef WINDOWS_SYS
|
||||
#include "util/rswin.h"
|
||||
#include "util/rsmemory.h"
|
||||
#include <ws2tcpip.h>
|
||||
#endif // WINDOWS_SYS
|
||||
|
||||
|
@ -275,7 +275,7 @@ bool RsLoginHandler::tryAutoLogin(const RsPeerId& ssl_id,std::string& ssl_passwd
|
||||
fseek(fp, 0, SEEK_SET);
|
||||
dataptr = (char *) rs_malloc(datalen);
|
||||
|
||||
if(data_ptr == NULL)
|
||||
if(dataptr == NULL)
|
||||
{
|
||||
fclose(fp);
|
||||
return false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user