Cosmetic change to uri.c
git-svn-id: https://pupnp.svn.sourceforge.net/svnroot/pupnp/trunk@507 119443c7-1b9e-41f8-b6fc-b9c35fce742c
This commit is contained in:
parent
f6a30b842c
commit
c56ab5613e
@ -43,6 +43,7 @@
|
||||
#include <lwres/netdb.h>
|
||||
#endif
|
||||
#endif
|
||||
#include <assert.h>
|
||||
|
||||
|
||||
#include "config.h"
|
||||
@ -458,13 +459,14 @@ int parse_hostport(
|
||||
ret = 1;
|
||||
}
|
||||
|
||||
// Check if address was converted successfully.
|
||||
if( ret <= 0 ) {
|
||||
/* Check if address was converted successfully. */
|
||||
if (ret <= 0) {
|
||||
return UPNP_E_INVALID_URL;
|
||||
}
|
||||
|
||||
out->text.size = hostport_size;
|
||||
out->text.buff = in;
|
||||
|
||||
return hostport_size;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user