diff options
author | Craig Tiller <craig.tiller@gmail.com> | 2015-04-21 13:40:09 -0700 |
---|---|---|
committer | Craig Tiller <craig.tiller@gmail.com> | 2015-04-21 13:40:09 -0700 |
commit | b4a75a8547f53361c34655df98688cac024b4aaf (patch) | |
tree | 3c26063aa7222b5ac939fda4c470cd5acc14866a /src/core/security | |
parent | 1b5062c869196f369f0d9a7449418da897f2692e (diff) |
Add != NULL
Diffstat (limited to 'src/core/security')
-rw-r--r-- | src/core/security/auth.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/security/auth.c b/src/core/security/auth.c index fee53a937d..4af2c67d83 100644 --- a/src/core/security/auth.c +++ b/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. */ |