mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-03 06:35:08 -04: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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue