Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-11516

recv_getqueue() doesn't check the return value of zbx_tcp_send_raw()

XMLWordPrintable

      The return value of zbx_tcp_send_raw() is checked in other places. If we really want to ignore failed sending then let's prepend the function call with (void).

      (void)zbx_tcp_send_raw(sock, json.buffer);
      

      Coverity issue CID 118906.

            Unassigned Unassigned
            sandis.neilands Sandis Neilands (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: