mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-30 09:13:40 -05:00
fix a null pointer bug update
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2165 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
906cc25379
commit
15e3a0d075
@ -1027,7 +1027,7 @@ error:
|
||||
char* CUPnPControlPoint::getInternalIpAddress()
|
||||
{
|
||||
char * addr = UpnpGetServerIpAddress();
|
||||
if (addr = NULL) {
|
||||
if (addr == NULL) {
|
||||
addr = "127.0.0.1";
|
||||
}
|
||||
return addr;
|
||||
|
Loading…
x
Reference in New Issue
Block a user