Final changes as we head towards V0.4.09a release.

* Switched on RELEASE flag in libretroshare.
 * Added missing Mutex lock in upnphandler.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@598 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
drbob 2008-06-13 23:22:20 +00:00
parent 76e877c2b6
commit 9c2558dbf0
2 changed files with 16 additions and 10 deletions

View file

@ -87,10 +87,15 @@ bool upnphandler::initUPnPState()
fprintf(stderr, "No IGD UPnP Device found on the network !\n");
}
/* MODIFY STATE */
dataMtx.lock(); /* LOCK MUTEX */
upnpState = RS_UPNP_S_UNAVAILABLE;
delete upcd;
upnpConfig = NULL;
dataMtx.unlock(); /* UNLOCK MUTEX */
/* done, FAILED -> NOT AVAILABLE */
return 0;