code" href="group__api.html#gadbe914e5a9d4f93314c4e7637cb4f7b3">mqtt_connect</a>(&amp;client, <span class="stringliteral">&quot;publishing_client&quot;</span>, NULL, NULL, 0, NULL, NULL, 0, 400);</div><div class="line"></div><div class="line">    <span class="comment">/* check that we don&#39;t have any errors */</span></div><div class="line">    <span class="keywordflow">if</span> (client.error != MQTT_OK) {</div><div class="line">        fprintf(stderr, <span class="stringliteral">&quot;error: %s\n&quot;<