Fix duplicated NULL pointer check

pull/10399/head
Igor Pylypiv 8 years ago
parent 55fd6638be
commit b7de717bf3
  1. 2
      src/core/tsi/transport_security.c

@ -101,7 +101,7 @@ tsi_result tsi_frame_protector_protect_flush(
tsi_frame_protector *self, unsigned char *protected_output_frames,
size_t *protected_output_frames_size, size_t *still_pending_size) {
if (self == NULL || protected_output_frames == NULL ||
protected_output_frames == NULL || still_pending_size == NULL) {
protected_output_frames_size == NULL || still_pending_size == NULL) {
return TSI_INVALID_ARGUMENT;
}
return self->vtable->protect_flush(self, protected_output_frames,

Loading…
Cancel
Save