Skip to content

Commit

Permalink
Minor review cleanup.
Browse files Browse the repository at this point in the history
  • Loading branch information
adamshapiro0 committed Mar 29, 2024
1 parent 8b2d9e0 commit c865926
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions c/src/point_one/polaris/polaris.c
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@ int Polaris_SendECEFPosition(PolarisContext_t* context, double x_m, double y_m,
}
#ifdef POLARIS_USE_TLS
else if (context->ssl_ctx == NULL || context->ssl == NULL) {
P1_Print("Error: Polaris SSL connection not established.\n");
P1_Print("Error: Polaris SSL context not available.\n");
return POLARIS_SOCKET_ERROR;
}
#endif
Expand Down Expand Up @@ -535,7 +535,7 @@ int Polaris_SendLLAPosition(PolarisContext_t* context, double latitude_deg,
}
#ifdef POLARIS_USE_TLS
else if (context->ssl_ctx == NULL || context->ssl == NULL) {
P1_Print("Error: Polaris SSL connection not established.\n");
P1_Print("Error: Polaris SSL context not available.\n");
return POLARIS_SOCKET_ERROR;
}
#endif
Expand Down Expand Up @@ -587,7 +587,7 @@ int Polaris_RequestBeacon(PolarisContext_t* context, const char* beacon_id) {
}
#ifdef POLARIS_USE_TLS
else if (context->ssl_ctx == NULL || context->ssl == NULL) {
P1_Print("Error: Polaris SSL connection not established.\n");
P1_Print("Error: Polaris SSL context not available.\n");
return POLARIS_SOCKET_ERROR;
}
#endif
Expand Down

0 comments on commit c865926

Please sign in to comment.