projects
/
citadel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
URL-Handling: bugfixes
[citadel.git]
/
libcitadel
/
lib
/
urlhandling.c
diff --git
a/libcitadel/lib/urlhandling.c
b/libcitadel/lib/urlhandling.c
index 49878afda5ccd0d5180c1ec7060cd25d7a0d6545..f350ea7d403fb41c9570c7df5157009bd28f44fa 100644
(file)
--- a/
libcitadel/lib/urlhandling.c
+++ b/
libcitadel/lib/urlhandling.c
@@
-130,7
+130,9
@@
int ParseURL(ParsedURL **Url, StrBuf *UrlStr, unsigned short DefaultPort)
((struct sockaddr_in *)&(url->Addr))->sin_port = htons(url->Port);
((struct sockaddr_in *)&(url->Addr))->sin_family = AF_INET;
}
- }
+ }
+ if (*Url != NULL)
+ url->Next = *Url;
*Url = url;
return 1;
}