This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
pespin gerrit-no-reply at lists.osmocom.orgpespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmo-netif/+/15667
Change subject: osmux: osmux_snprintf(): Append comma between osmux frames in msg
......................................................................
osmux: osmux_snprintf(): Append comma between osmux frames in msg
Change-Id: I7acaba9429466db6cb5700b206d6b42da5e4627a
---
M src/osmux.c
1 file changed, 4 insertions(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/libosmo-netif refs/changes/67/15667/1
diff --git a/src/osmux.c b/src/osmux.c
index 8b6a115..43b294c 100644
--- a/src/osmux.c
+++ b/src/osmux.c
@@ -1093,7 +1093,10 @@
return -1;
}
osmuxh = (struct osmux_hdr *)((uint8_t *)msg->data + msg_off);
-
+ if (msg_off) {
+ ret = snprintf(buf + offset, remain, ", ");
+ SNPRINTF_BUFFER_SIZE(ret, remain, offset);
+ }
ret = osmux_snprintf_header(buf + offset, remain, osmuxh);
SNPRINTF_BUFFER_SIZE(ret, remain, offset);
--
To view, visit https://gerrit.osmocom.org/c/libosmo-netif/+/15667
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: libosmo-netif
Gerrit-Branch: master
Gerrit-Change-Id: I7acaba9429466db6cb5700b206d6b42da5e4627a
Gerrit-Change-Number: 15667
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20191004/671dae68/attachment.htm>