Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Jon Lara committed Aug 2, 2021
1 parent f30053a commit 01633c6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ data

.vscode

.ignored
.ignored
2 changes: 1 addition & 1 deletion src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ int main(int argc, char *argv[]) {
struct environment_st environment = load_environment();

log_debug("FULL_FILE_NAME: %s", environment.FULL_FILE_NAME);
char lastIp[16];

char lastIp[16];
int ret_saved_ip = get_saved_ip(environment.FULL_FILE_NAME, lastIp, sizeof(lastIp) / sizeof(char));
if (ret_saved_ip != 0) {
if (ret_saved_ip == -1) log_debug("File not found");
Expand Down

0 comments on commit 01633c6

Please sign in to comment.