summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
1df969e)
The function uri_parse_str_urls return a ssize_t and the return was
casted to a size_t. This caused the following error checking to fail as
-1 was interpreted as
18446744073709551615.
Fixes #803
Signed-off-by: Jonathan Rajotte Julien <jonathan.r.julien@gmail.com>
Signed-off-by: David Goulet <dgoulet@efficios.com>
struct lttng_save_session_attr *attr, const char *url)
{
int ret = 0;
struct lttng_save_session_attr *attr, const char *url)
{
int ret = 0;
+ size_t len;
+ ssize_t size;
struct lttng_uri *uris = NULL;
if (!attr) {
struct lttng_uri *uris = NULL;
if (!attr) {