mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-03 06:35:08 -04:00
Fixed Windows compile.
This commit is contained in:
parent
b5f6059485
commit
748147f73b
2 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue