p3connmgr.cc: fixed compiler warning

p3distrib.cc: fixed compiling under windows

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3127 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
thunder2 2010-06-13 15:24:59 +00:00
parent 931b95bc58
commit 6f8e75c14f
2 changed files with 4 additions and 1 deletions

View File

@ -2906,7 +2906,6 @@ bool p3ConnectMgr::setLocation(std::string id, std::string location)
/* check if it is a friend */
std::map<std::string, peerConnectState>::iterator it;
bool isFriend = false;
if (mFriendList.end() == (it = mFriendList.find(id))) {
return false;
} else {

View File

@ -23,6 +23,10 @@
*
*/
#ifdef WINDOWS_SYS
#include "util/rswin.h"
#endif
#include <openssl/err.h>
#include <openssl/ssl.h>
#include <openssl/evp.h>