File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
ssl-socket-clientauth/src Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -240,7 +240,7 @@ static void socket_task(void *arg)
240
240
}
241
241
242
242
/* Check if socket not connected */
243
- if (ssl_socket_geterror (socket_id ) != SOCK_STA_CONNECTED )
243
+ if (ssl_socket_getstatus (socket_id ) != SOCK_STA_CONNECTED )
244
244
{
245
245
/* Initiate SSL socket connection */
246
246
ret = ssl_socket_open (socket_id );
Original file line number Diff line number Diff line change @@ -166,7 +166,7 @@ static void socket_task(void *arg)
166
166
}
167
167
168
168
/* Check if socket not connected */
169
- if (ssl_socket_geterror (socket_id ) != SOCK_STA_CONNECTED ) {
169
+ if (ssl_socket_getstatus (socket_id ) != SOCK_STA_CONNECTED ) {
170
170
/* Initiate SSL socket connection */
171
171
ret = ssl_socket_open (socket_id );
172
172
if (ret < 0 )
You can’t perform that action at this time.
0 commit comments