Skip to content

fix: missing semicolons #197

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ CertSubscribeUpdateStatus CertificateUpdater::subscribeToUpdates(
}
} else if (responseType == RPC_ERROR) {
auto error = response.GetRpcError();
LOG_E(CERT_UPDATER_SUBJECT, "Cert updates RPC failure response: %s", error.StatusToString().c_str())
LOG_E(CERT_UPDATER_SUBJECT, "Cert updates RPC failure response: %s", error.StatusToString().c_str());
}
return CertSubscribeUpdateStatus::SUBSCRIBE_ERROR_FAILURE_RESPONSE;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ ConfigurationSubscriber::subscribe_to_configuration_updates(std::unique_ptr<std:
return ConfigurationSubscribeStatus::SUBSCRIBE_ERROR_FAILURE_RESPONSE;
case RPC_ERROR:
LOG_E(CONFIG_SUBSCRIBER_SUBJECT, "Config updates RPC failure response: %s",
response.GetRpcError().StatusToString().c_str())
response.GetRpcError().StatusToString().c_str());
return ConfigurationSubscribeStatus::SUBSCRIBE_ERROR_FAILURE_RESPONSE;
default:
LOG_E(CONFIG_SUBSCRIBER_SUBJECT, "Subscribe failed with response type %d", response.GetResultType());
Expand Down
12 changes: 6 additions & 6 deletions port_driver/port_driver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -590,27 +590,27 @@ void drv_output(ErlDrvData handle, ErlIOVec *erlIoVec) {

switch (operation) {
case GET_CLIENT_DEVICE_AUTH_TOKEN:
LOG_I(PORT_DRIVER_SUBJECT, "GET_CLIENT_DEVICE_AUTH_TOKEN")
LOG_I(PORT_DRIVER_SUBJECT, "GET_CLIENT_DEVICE_AUTH_TOKEN");
handle_get_auth_token(context, buff, index);
break;
case ON_CLIENT_CHECK_ACL:
LOG_I(PORT_DRIVER_SUBJECT, "ON_CLIENT_CHECK_ACL")
LOG_I(PORT_DRIVER_SUBJECT, "ON_CLIENT_CHECK_ACL");
handle_check_acl(context, buff, index);
break;
case VERIFY_CLIENT_CERTIFICATE:
LOG_I(PORT_DRIVER_SUBJECT, "VERIFY_CLIENT_CERTIFICATE")
LOG_I(PORT_DRIVER_SUBJECT, "VERIFY_CLIENT_CERTIFICATE");
handle_verify_client_certificate(context, buff, index);
break;
case SUBSCRIBE_TO_CERTIFICATE_UPDATES:
LOG_I(PORT_DRIVER_SUBJECT, "SUBSCRIBE_TO_CERTIFICATE_UPDATES")
LOG_I(PORT_DRIVER_SUBJECT, "SUBSCRIBE_TO_CERTIFICATE_UPDATES");
handle_certificate_update_subscription(context);
break;
case SUBSCRIBE_TO_CONFIGURATION_UPDATES:
LOG_I(PORT_DRIVER_SUBJECT, "SUBSCRIBE_TO_CONFIGURATION_UPDATES")
LOG_I(PORT_DRIVER_SUBJECT, "SUBSCRIBE_TO_CONFIGURATION_UPDATES");
handle_configuration_update_subscription(context);
break;
case GET_CONFIGURATION:
LOG_I(PORT_DRIVER_SUBJECT, "GET_CONFIGURATION")
LOG_I(PORT_DRIVER_SUBJECT, "GET_CONFIGURATION");
handle_get_configuration(context, buff, index);
break;
default:
Expand Down
Loading