mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-02 22:25:04 -04:00
warning suppression, removed unused p3portservice from compilation
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2408 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
ede337b7d4
commit
3d11b15490
7 changed files with 15 additions and 17 deletions
|
@ -1025,7 +1025,8 @@ char* CUPnPControlPoint::getInternalIpAddress()
|
|||
{
|
||||
char * addr = UpnpGetServerIpAddress();
|
||||
if (addr == NULL) {
|
||||
addr = "127.0.0.1";
|
||||
addr = new char[10] ;
|
||||
sprintf(addr,"%s","127.0.0.1");
|
||||
}
|
||||
return addr;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue