diff options
author | Neels Hofmeyr <neels@hofmeyr.de> | 2020-01-09 18:35:03 +0100 |
---|---|---|
committer | Oliver Smith <osmith@sysmocom.de> | 2020-01-13 14:12:00 +0100 |
commit | fbe4929543d459c59dff46d77d19068776d46083 (patch) | |
tree | a67434aeffff8e175f7259adfae68fb98c541787 /src/hlr.c | |
parent | e53a34a7e1ee03afde47ec73e8e912be6be6ec05 (diff) |
fix missing braces in LOGP_GSUP_FWD
Change-Id: I8634ea8822c8ccba4081014c5540f2b6a229fc7e
Diffstat (limited to 'src/hlr.c')
-rw-r--r-- | src/hlr.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -542,11 +542,11 @@ static int rx_check_imei_req(struct osmo_gsup_conn *conn, const struct osmo_gsup static char namebuf[255]; #define LOGP_GSUP_FWD(gsup, level, fmt, args ...) \ LOGP(DMAIN, level, "Forward %s (class=%s, IMSI=%s, %s->%s): " fmt, \ - osmo_gsup_message_type_name(gsup->message_type), \ - osmo_gsup_message_class_name(gsup->message_class), \ - gsup->imsi, \ - osmo_quote_str((const char *)gsup->source_name, gsup->source_name_len), \ - osmo_quote_str_buf2(namebuf, sizeof(namebuf), (const char *)gsup->destination_name, gsup->destination_name_len), \ + osmo_gsup_message_type_name((gsup)->message_type), \ + osmo_gsup_message_class_name((gsup)->message_class), \ + (gsup)->imsi, \ + osmo_quote_str((const char *)(gsup)->source_name, (gsup)->source_name_len), \ + osmo_quote_str_buf2(namebuf, sizeof(namebuf), (const char *)(gsup)->destination_name, (gsup)->destination_name_len), \ ## args) static int read_cb_forward(struct osmo_gsup_conn *conn, struct msgb *msg, const struct osmo_gsup_message *gsup) |