Skip to content

Commit

Permalink
ncc REFACTOR formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
michalvasko committed May 2, 2024
1 parent 6187713 commit da8bd73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/netconf_confirmed_commit.c
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ ncc_rename_failed_file(const char *filename, const char *path)
{
char *new = NULL;

if (asprintf(&new, "%s/%s/%s-%lld.failed", np2srv.server_dir, NCC_DIR, filename, (long long int)time(NULL)) == -1) {
if (asprintf(&new, "%s/%s/%s-%lld.failed", np2srv.server_dir, NCC_DIR, filename, (long long)time(NULL)) == -1) {
EMEM;
return;
}
Expand Down

0 comments on commit da8bd73

Please sign in to comment.