Skip to content

Commit

Permalink
fix: breaking changes in at_c
Browse files Browse the repository at this point in the history
  • Loading branch information
XavierChanth committed Jan 8, 2025
1 parent 55a75f1 commit 5512058
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/c/sshnpd/src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ int main(int argc, char **argv) {
// 7.b Initialize the worker atclient
atclient_init(&worker);
bool free_ping_response = false;
res = atclient_pkam_authenticate(&worker, params.atsign, &atkeys, NULL);
res = atclient_pkam_authenticate(&worker, params.atsign, &atkeys, NULL, NULL);
if (res != 0 || !should_run) {
exit_res = res;
goto cancel_atclient;
Expand Down Expand Up @@ -610,7 +610,7 @@ static int reconnect_atclient() {

if (!atclient_is_connected(&worker)) {
atlogger_log(TAG, ATLOGGER_LOGGING_LEVEL_INFO, "Worker client is not connected, attempting to reconnect:\n");
ret = atclient_pkam_authenticate(&worker, params.atsign, &atkeys, NULL);
ret = atclient_pkam_authenticate(&worker, params.atsign, &atkeys, NULL, NULL);

if (ret != 0) {
atlogger_log(TAG, ATLOGGER_LOGGING_LEVEL_ERROR, "Failed to reconnect to the atServer.\n");
Expand Down

0 comments on commit 5512058

Please sign in to comment.