SF Patch Tracker [ 2973319 ] Problem in commit 499
Submitted By: Nick Leverton (leveret) Afraid that this doesn't compile, it seems retval should be retVal in two places. git-svn-id: https://pupnp.svn.sourceforge.net/svnroot/pupnp/trunk@500 119443c7-1b9e-41f8-b6fc-b9c35fce742c
This commit is contained in:
@@ -2,6 +2,12 @@
|
||||
Version 1.8.0
|
||||
*******************************************************************************
|
||||
|
||||
2010-03-16 Marcelo Jimenez <mroberto(at)users.sourceforge.net>
|
||||
* SF Patch Tracker [ 2973319 ] Problem in commit 499
|
||||
Submitted By: Nick Leverton (leveret)
|
||||
Afraid that this doesn't compile, it seems retval should be retVal in two
|
||||
places.
|
||||
|
||||
2010-03-16 Marcelo Jimenez <mroberto(at)users.sourceforge.net>
|
||||
* Fix for the ithread_mutex_unlock() logic in UpnpInit().
|
||||
Thanks for Nicholas Kraft.
|
||||
|
||||
@@ -207,7 +207,7 @@ int UpnpInit(const char *HostIP, unsigned short DestPort)
|
||||
|
||||
/* Check if we're already initialized. */
|
||||
if (UpnpSdkInit == 1) {
|
||||
retval = UPNP_E_INIT;
|
||||
retVal = UPNP_E_INIT;
|
||||
goto exit_function;
|
||||
}
|
||||
|
||||
@@ -226,7 +226,7 @@ int UpnpInit(const char *HostIP, unsigned short DestPort)
|
||||
strncpy(gIF_IPV4, HostIP, sizeof(gIF_IPV4));
|
||||
} else {
|
||||
if( getlocalhostname( gIF_IPV4, sizeof(gIF_IPV4) ) != UPNP_E_SUCCESS ) {
|
||||
retval = UPNP_E_INIT_FAILED;
|
||||
retVal = UPNP_E_INIT_FAILED;
|
||||
goto exit_function;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user