VCL: add epoll_* functions.
[vpp.git] / src / uri / sock_test_client.c
index ab8e5a0..b53f8f2 100644 (file)
@@ -429,6 +429,7 @@ exit_client (void)
       tsock = &scm->test_socket[i];
       tsock->cfg.test = SOCK_TEST_TYPE_EXIT;
 
+      /* coverity[COPY_PASTE_ERROR] */
       if (ctrl->cfg.verbose)
        {
          printf ("\nCLIENT (fd %d): Sending exit cfg to server...\n",
@@ -504,7 +505,7 @@ sock_test_connect_test_sockets (uint32_t num_test_sockets)
 #ifdef VCL_TEST
          tsock->fd =
            vppcom_session_create (VPPCOM_VRF_DEFAULT, VPPCOM_PROTO_TCP,
-                                  0 /* is_nonblocking */ );
+                                  1 /* is_nonblocking */ );
          if (tsock->fd < 0)
            {
              errno = -tsock->fd;