| commit | c9a202fee3632be4cb133996993949bdec548035 | [log] [tgz] |
|---|---|---|
| author | David Benjamin <davidben@chromium.org> | Wed Feb 11 01:16:26 2015 -0500 |
| committer | Adam Langley <agl@google.com> | Wed Feb 11 19:31:01 2015 +0000 |
| tree | 762e03c99e20e0ae1f2045117343766fd5690ab8 | |
| parent | efec193d27e81cc4d25d0b04c89d4d0c155fcccf [diff] [blame] |
Add in missing curly braces part 1. Everything before crypto/ec. Change-Id: Icbfab8e4ffe5cc56bf465eb57d3fdad3959a085c Reviewed-on: https://boringssl-review.googlesource.com/3401 Reviewed-by: Adam Langley <agl@google.com>
diff --git a/crypto/bio/socket.c b/crypto/bio/socket.c index 590447f..3f3884c 100644 --- a/crypto/bio/socket.c +++ b/crypto/bio/socket.c
@@ -150,11 +150,13 @@ case BIO_C_GET_FD: if (b->init) { ip = (int *)ptr; - if (ip != NULL) + if (ip != NULL) { *ip = b->num; + } ret = b->num; - } else + } else { ret = -1; + } break; case BIO_CTRL_GET_CLOSE: ret = b->shutdown;