Fix build error in tls_client_main.c
authorvenkat.iyer <venkat.iyer@samsung.com>
Thu, 21 Sep 2017 06:59:50 +0000 (15:59 +0900)
committervenkat.iyer <venkat.iyer@samsung.com>
Thu, 21 Sep 2017 06:59:50 +0000 (15:59 +0900)
apps/examples/tls_client/tls_client_main.c

index e78fe11..4fdf5a8 100644 (file)
@@ -462,7 +462,7 @@ int tls_client_cb(void *args)
        int tail_len;
        int i;
        int written;
-       int frags;
+       int frags = 0;
        int retry_left;
        mbedtls_net_context server_fd;
 #if defined(MBEDTLS_KEY_EXCHANGE__SOME__PSK_ENABLED)