Max has posted comments on this change. ( https://gerrit.osmocom.org/11989 )
Change subject: gsupclient: add osmo_gsup_msg_enc_send() ...................................................................... Patch Set 4: Code-Review-1 (3 comments) Sorry, haven't noticed those earlier. https://gerrit.osmocom.org/#/c/11989/4/src/gsupclient/gsup_client.c File src/gsupclient/gsup_client.c: https://gerrit.osmocom.org/#/c/11989/4/src/gsupclient/gsup_client.c@366 PS4, Line 366: * \returns 0 in case of success, otherwise errno Errno is positive and we return negative I believe - better state that explicitly. https://gerrit.osmocom.org/#/c/11989/4/src/gsupclient/gsup_client.c@381 PS4, Line 381: if (rc) { I think it's better to explicitly check rc < 0 in here to make reading code easier. https://gerrit.osmocom.org/#/c/11989/4/src/gsupclient/gsup_client.c@387 PS4, Line 387: if (rc) { And here too. -- To view, visit https://gerrit.osmocom.org/11989 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-hlr Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: I0589ff27933e9bca2bcf93b8259004935778db8f Gerrit-Change-Number: 11989 Gerrit-PatchSet: 4 Gerrit-Owner: Vadim Yanitskiy <axilira...@gmail.com> Gerrit-Reviewer: Harald Welte <lafo...@gnumonks.org> Gerrit-Reviewer: Jenkins Builder (1000002) Gerrit-Reviewer: Max <msur...@sysmocom.de> Gerrit-Reviewer: Neels Hofmeyr <nhofm...@sysmocom.de> Gerrit-Reviewer: Stefan Sperling <s...@stsp.name> Gerrit-Comment-Date: Fri, 14 Dec 2018 13:07:38 +0000 Gerrit-HasComments: Yes Gerrit-HasLabels: Yes