From 15e3a0d075f8c44f7a1fb62e4e1ba916a2849f61 Mon Sep 17 00:00:00 2001 From: joss17 Date: Sun, 31 Jan 2010 19:45:35 +0000 Subject: [PATCH] fix a null pointer bug update git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2165 b45a01b8-16f6-495d-af2f-9b41ad6348cc --- libretroshare/src/upnp/UPnPBase.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libretroshare/src/upnp/UPnPBase.cpp b/libretroshare/src/upnp/UPnPBase.cpp index 827195419..1cf5a7687 100644 --- a/libretroshare/src/upnp/UPnPBase.cpp +++ b/libretroshare/src/upnp/UPnPBase.cpp @@ -1027,7 +1027,7 @@ error: char* CUPnPControlPoint::getInternalIpAddress() { char * addr = UpnpGetServerIpAddress(); - if (addr = NULL) { + if (addr == NULL) { addr = "127.0.0.1"; } return addr;