<p></p>
<p><b>@benpicco</b> commented on this pull request.</p>

<hr>

<p>In <a href="https://github.com/RIOT-OS/RIOT/pull/16494#discussion_r685834451">tests/gnrc_sock_tcp/main.c</a>:</p>
<pre style='color:#555'>> +    unsigned payload_size = atol(argv[1]);
+    char *payload = argv[2];
</pre>
<p>Why not</p>

⬇️ Suggested change
<pre style="color: #555">-    unsigned payload_size = atol(argv[1]);
-    char *payload = argv[2];
+    unsigned payload_size = strlen(argv[1]);
+    char *payload = argv[1];
</pre>


<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/RIOT-OS/RIOT/pull/16494#pullrequestreview-726192528">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABE7WYAYYDLZPBWNHOIIKX3T4DTVFANCNFSM45KSNSZA">unsubscribe</a>.<br />Triage notifications on the go with GitHub Mobile for <a href="https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675">iOS</a> or <a href="https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email">Android</a>.<img src="https://github.com/notifications/beacon/ABE7WYDLFBAOTYOTACFBPF3T4DTVFA5CNFSM45KSNSZKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOFNENDEA.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/RIOT-OS/RIOT/pull/16494#pullrequestreview-726192528",
"url": "https://github.com/RIOT-OS/RIOT/pull/16494#pullrequestreview-726192528",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>