Fixed error code comparison for determining timeout in generic_send
Fixed error code comparison for determining timeout in generic_send

- There was a typo in comparison command. Sending data worked, but
  it printed warning.
  Now we compare error code correctly so the state is reported back
  also correctly.

sustr4/perun-services,stavamichal/perun-services,CESNET/perun-services,CESNET/perun-services,zlamalp/perun-services,stavamichal/perun-services,sustr4/perun-services,sustr4/perun-services,zlamalp/perun-services,zlamalp/perun-services,CESNET/perun-services,stavamichal/perun-services,stavamichal/perun-services,CESNET/perun-services,zlamalp/perun-services,sustr4/perun-services