projects
/
project
/
uclient.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
pass auth_str to uclient_new()
[project/uclient.git]
/
uclient.c
diff --git
a/uclient.c
b/uclient.c
index
b020ad0
..
2e3d3ae
100644
(file)
--- a/
uclient.c
+++ b/
uclient.c
@@
-112,12
+112,12
@@
free:
return NULL;
}
return NULL;
}
-struct uclient *uclient_new(const char *url_str, const struct uclient_cb *cb)
+struct uclient *uclient_new(const char *url_str, const
char *auth_str, const
struct uclient_cb *cb)
{
struct uclient *cl;
struct uclient_url *url;
{
struct uclient *cl;
struct uclient_url *url;
- url = uclient_get_url(url_str,
NULL
);
+ url = uclient_get_url(url_str,
auth_str
);
if (!url)
return NULL;
if (!url)
return NULL;