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:
Marcelo Roberto Jimenez 2010-03-15 03:07:34 +00:00
parent 44cb915b1b
commit da3ce95628

View File

@ -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;