Fix for const warning.
git-svn-id: https://pupnp.svn.sourceforge.net/svnroot/pupnp/trunk@490 119443c7-1b9e-41f8-b6fc-b9c35fce742c
This commit is contained in:
parent
44cb915b1b
commit
da3ce95628
@ -3471,7 +3471,7 @@ int getlocalhostname(char *out, const int out_len)
|
||||
{
|
||||
int ret = UPNP_E_SUCCESS;
|
||||
char tempstr[16];
|
||||
char *p = NULL;
|
||||
const char *p = NULL;
|
||||
|
||||
#ifdef WIN32
|
||||
struct hostent *h = NULL;
|
||||
|
Loading…
x
Reference in New Issue
Block a user