net.c: add check of the first received buffer when using memcmp
authorSimon Guinot <simon.guinot@sequanux.org>
Thu, 21 Nov 2019 21:58:04 +0000 (22:58 +0100)
committerSimon Guinot <simon.guinot@sequanux.org>
Thu, 21 Nov 2019 21:58:45 +0000 (22:58 +0100)
commitec9bb85ebdfebc68e1e914981a0fce2e0495ba72
tree836c5097299392d70e0f42b2e3f4c7b292241409
parentb5621b17a34c8c375268c91103f389b3a52f66a6
net.c: add check of the first received buffer when using memcmp

The first received buffer is not checked when the "memcmp" method is
selected. This patch adds the missing check.
net.c