projects
/
citadel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Switch handling to have a pointer to the target address
[citadel.git]
/
libcitadel
/
lib
/
urlhandling.c
diff --git
a/libcitadel/lib/urlhandling.c
b/libcitadel/lib/urlhandling.c
index a8856fafd8991a4d4d79ee079fb47208a0e94ffb..6f7ebb58c628b945e7d20a36a668fba2b79b132c 100644
(file)
--- a/
libcitadel/lib/urlhandling.c
+++ b/
libcitadel/lib/urlhandling.c
@@
-105,7
+105,7
@@
int ParseURL(ParsedURL **Url, StrBuf *UrlStr, unsigned short DefaultPort)
}
if (pPort != NULL)
url->Port = atol(pPort);
- url->IsIP = inet_pton(url->af, url->Host, &url->Addr);
+ url->IsIP = inet_pton(url->af, url->Host, &url->Addr
.sin6_addr
);
*Url = url;
return 1;
}