mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
amqp: fix compiler warning about unused return value
This commit is contained in:
parent
da8f9bb1b0
commit
ac77d7eb85
1 changed files with 1 additions and 1 deletions
|
@ -154,7 +154,7 @@ int amqp_parse(struct node *n, json_t *json)
|
|||
if (uri)
|
||||
a->uri = strdup(uri);
|
||||
else
|
||||
asprintf(&a->uri, "amqp://%s:%s@%s:%d/%s", username, password, host, port, vhost);
|
||||
a->uri = strf("amqp://%s:%s@%s:%d/%s", username, password, host, port, vhost);
|
||||
|
||||
ret = amqp_parse_url(a->uri, &a->connection_info);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue