* test/MockHTTPinC/MockHTTP_server.c
  (bio_apr_socket_ctrl): Following up on r1902208, simplify the code by
   returning the hit_eof value.


git-svn-id: https://svn.apache.org/repos/asf/serf/trunk@1902209 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/test/MockHTTPinC/MockHTTP_server.c b/test/MockHTTPinC/MockHTTP_server.c
index b6eefcd..aa12d7d 100644
--- a/test/MockHTTPinC/MockHTTP_server.c
+++ b/test/MockHTTPinC/MockHTTP_server.c
@@ -2336,10 +2336,7 @@
         case BIO_CTRL_POP:
             return 0;
         case BIO_CTRL_EOF:
-            if (ssl_ctx->hit_eof == YES)
-                return 1;
-            else
-                return 0;
+            return ssl_ctx->hit_eof;
         default:
             /* abort(); */
             return 1;