Displaying 1 result from an estimated 1 matches for "parse_colon_sep_str".
2001 Dec 07
2
[Possible BUG]: Wine-20011108
...char *) path, *c;
if (end == NULL)
end = start + strlen (start);
// Check if there is an user info embedded into the authority
// field.
for (c = start; c < end && *c != '@'; c++);
char * tport = 0;
if (*c == '@')
{
*c = '\0';
parse_colon_sep_string (start, c, (char **) &user, (char **) &pass);
parse_colon_sep_string (c + 1, end, (char **) &host, (char **) &tport);
}
else
{
parse_colon_sep_string (start, end, (char **) &host, (char **) &tport);
}
if (tport)
port = abs (atoi (tport));...