Skip to content

Commit

Permalink
Fix INI write example
Browse files Browse the repository at this point in the history
  • Loading branch information
lmoellendorf committed Mar 2, 2024
1 parent 80c9d6f commit 5ea02a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example/iniwrite.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ int write_to_ini(const char *ini_name)
FILE *ini_file;
int ret = 0;

if (!ini_name || !dictionary) {
if (!ini_name) {
fprintf(stderr, "Invalid argurment\n");
return -1;
}
Expand Down

0 comments on commit 5ea02a8

Please sign in to comment.