[riot-notifications] [RIOT-OS/RIOT] pkg/wakaama: bump version (#10738)

José Alamos notifications at github.com
Wed Jan 9 15:06:20 CET 2019


jia200x commented on this pull request.



> +Date: Mon, 5 Feb 2018 15:52:10 +0100
+Subject: [PATCH] Use lwm2m_strdup() instead of strdup()
+
+---
+ examples/client/object_security.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/examples/client/object_security.c b/examples/client/object_security.c
+index bfb5f85..d91f6e5 100644
+--- a/examples/client/object_security.c
++++ b/examples/client/object_security.c
+@@ -540,7 +540,7 @@ lwm2m_object_t * get_security_object(int serverId,
+             targetP->securityMode = LWM2M_SECURITY_MODE_PRE_SHARED_KEY;
+             if (bsPskId)
+             {
+-                targetP->publicIdentity = strdup(bsPskId);

@moenoel do you remember what was the reason for using `lwm2m_strdup` instead of `strdup`?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/10738#pullrequestreview-190740509
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190109/4c721b5f/attachment-0001.html>


More information about the notifications mailing list