From 105f9f466e9f1823d6869030603075d92e6b84b6 Mon Sep 17 00:00:00 2001 From: Chris Morgan Date: Tue, 22 Aug 2017 14:52:44 -0400 Subject: [PATCH] openssl_server: Rename openssl_client_init() to openssl_server_init() to match usage Merges https://github.com/espressif/esp-idf/pull/928 --- .../openssl_server/main/openssl_server_example_main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/protocols/openssl_server/main/openssl_server_example_main.c b/examples/protocols/openssl_server/main/openssl_server_example_main.c index bc0f7c355..00d5c5ba7 100755 --- a/examples/protocols/openssl_server/main/openssl_server_example_main.c +++ b/examples/protocols/openssl_server/main/openssl_server_example_main.c @@ -194,7 +194,7 @@ failed1: return ; } -static void openssl_client_init(void) +static void openssl_server_init(void) { int ret; xTaskHandle openssl_handle; @@ -219,7 +219,7 @@ static esp_err_t wifi_event_handler(void *ctx, system_event_t *event) break; case SYSTEM_EVENT_STA_GOT_IP: xEventGroupSetBits(wifi_event_group, CONNECTED_BIT); - openssl_client_init(); + openssl_server_init(); break; case SYSTEM_EVENT_STA_DISCONNECTED: /* This is a workaround as ESP32 WiFi libs don't currently