curl / Mailing Lists / curl-library / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

Re: PR #7117 failing, help

From: Daniel Stenberg via curl-library <curl-library_at_cool.haxx.se>
Date: Sun, 23 May 2021 23:09:49 +0200 (CEST)

On Sun, 23 May 2021, Gealber Morales via curl-library wrote:

> mqtt.c:200:3: error: implicit declaration of function 'bzero'
> [-Wimplicit-function-declaration]
>
> 200 | bzero(packet, packetlen);

You musn't use bzero() because it isn't portable enough. Use memset() instead
and there won't be any problems.

-- 
  / daniel.haxx.se
  | Commercial curl support up to 24x7 is available!
  | Private help, bug fixes, support, ports, new features
  | https://www.wolfssl.com/contact/
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.se/mail/etiquette.html
Received on 2021-05-23