diff options
Diffstat (limited to 'librabbitmq/amqp_url.c')
-rw-r--r-- | librabbitmq/amqp_url.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/librabbitmq/amqp_url.c b/librabbitmq/amqp_url.c index 73ca4f6..ab4ac75 100644 --- a/librabbitmq/amqp_url.c +++ b/librabbitmq/amqp_url.c @@ -48,7 +48,7 @@ void amqp_default_connection_info(struct amqp_connection_info *ci) ci->host = "localhost"; ci->port = 5672; ci->vhost = "/"; - ci->ssl = false; + ci->ssl = 0; } /* Scan for the next delimiter, handling percent-encodings on the way. */ @@ -115,7 +115,7 @@ int amqp_parse_url(char *url, struct amqp_connection_info *parsed) /* do nothing */ } else if (!strncmp(url, "amqps://", 8)) { parsed->port = 5671; - parsed->ssl = true; + parsed->ssl = 1; } else { goto out; } |