diff options
| -rw-r--r-- | lib/libbindle/lurl.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/libbindle/lurl.c b/lib/libbindle/lurl.c index ce7620a..7ee97b4 100644 --- a/lib/libbindle/lurl.c +++ b/lib/libbindle/lurl.c | |||
| @@ -246,7 +246,10 @@ bindle_urldesc2str( | |||
| 246 | char * url; | 246 | char * url; |
| 247 | 247 | ||
| 248 | if (budp == NULL) | 248 | if (budp == NULL) |
| 249 | { | ||
| 250 | errno = EINVAL; | ||
| 249 | return(NULL); | 251 | return(NULL); |
| 252 | }; | ||
| 250 | 253 | ||
| 251 | // determine if host is an IPv6 address | 254 | // determine if host is an IPv6 address |
| 252 | is_ipv6addr = 0; | 255 | is_ipv6addr = 0; |
