Skip to content

Commit fdf7f5e

Browse files
committed
Fixed indent of AMQP_link_closed_handler
1 parent e5925b5 commit fdf7f5e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/adaptors/amqp/container.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -282,10 +282,10 @@ static void close_links(qd_container_t *container, pn_connection_t *conn, bool p
282282
pn_link_t *next_link = pn_link_next(pn_link, 0);
283283

284284
if (qd_link) {
285-
if (print_log)
286-
qd_log(LOG_CONTAINER, QD_LOG_DEBUG, "Aborting link '%s' due to parent connection end",
287-
pn_link_name(pn_link));
288-
AMQP_link_closed_handler(container->qd_router, qd_link, true); // true == forced
285+
if (print_log) {
286+
qd_log(LOG_CONTAINER, QD_LOG_DEBUG, "Aborting link '%s' due to parent connection end", pn_link_name(pn_link));
287+
}
288+
AMQP_link_closed_handler(container->qd_router, qd_link, true); // true == forced
289289
qd_link_free(qd_link);
290290
}
291291

0 commit comments

Comments
 (0)