Add != NULL

pull/1312/head
Craig Tiller 10 years ago
parent 1b5062c869
commit b4a75a8547
  1. 2
      src/core/security/auth.c

@ -164,7 +164,7 @@ static void call_op(grpc_call_element *elem, grpc_call_element *from_elem,
switch (op->type) {
case GRPC_SEND_METADATA:
for (l = op->data.metadata.list.head; l; l = l->next) {
for (l = op->data.metadata.list.head; l != NULL; l = l->next) {
grpc_mdelem *md = l->md;
/* Pointer comparison is OK for md_elems created from the same context.
*/

Loading…
Cancel
Save