Patch Set 2: in english: a char[] _is_ a "char*". if you have
char foo[] then &foo is "just coincidentally" the same memory location as foo, syntactically it became a char**. So just passing 'foo' is the correct way in this instance. -- To view, visit https://gerrit.osmocom.org/4395 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: I6932a29c7899d36bcc275f05dda9670b0e69bef0 Gerrit-PatchSet: 2 Gerrit-Project: libosmocore Gerrit-Branch: master Gerrit-Owner: Max <[email protected]> Gerrit-Reviewer: Harald Welte <[email protected]> Gerrit-Reviewer: Holger Freyther <[email protected]> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: Max <[email protected]> Gerrit-Reviewer: Neels Hofmeyr <[email protected]> Gerrit-HasComments: No
