From 71f632b99f33bd9d09c661ba21285380258c28f8 Mon Sep 17 00:00:00 2001 From: thunder2 Date: Fri, 8 Jul 2011 09:54:27 +0000 Subject: [PATCH] Fixed compile on Linux. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4408 b45a01b8-16f6-495d-af2f-9b41ad6348cc --- libretroshare/src/upnp/UPnPBase.cpp | 3 ++- libretroshare/src/upnp/upnphandler.cc | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/libretroshare/src/upnp/UPnPBase.cpp b/libretroshare/src/upnp/UPnPBase.cpp index 484fe0f8f..34cef5994 100644 --- a/libretroshare/src/upnp/UPnPBase.cpp +++ b/libretroshare/src/upnp/UPnPBase.cpp @@ -912,8 +912,9 @@ m_UPnPClientHandle(), m_RootDeviceMap(), m_ServiceMap(), m_ActivePortMappingsMap(), -m_RootDeviceListMutex(), +m_RootDeviceListMutex("UPnPControlPoint-RootDeviceList"), m_IGWDeviceDetected(false), +m_WaitForSearchTimeoutMutex("UPnPControlPoint-WaitForSearchTimeout"), m_WanService(NULL) { #ifdef UPNP_DEBUG diff --git a/libretroshare/src/upnp/upnphandler.cc b/libretroshare/src/upnp/upnphandler.cc index 4465bb785..cd2b7316e 100644 --- a/libretroshare/src/upnp/upnphandler.cc +++ b/libretroshare/src/upnp/upnphandler.cc @@ -257,7 +257,7 @@ bool upnphandler::shutdown_upnp() upnphandler::upnphandler() : - upnpState(RS_UPNP_S_UNINITIALISED), + upnpState(RS_UPNP_S_UNINITIALISED), dataMtx("upupState"), cUPnPControlPoint(NULL), toEnable(false), toStart(false), toStop(false), iport(0),eport(0), eport_curr(0)