cleanup and prep for continued work

This commit is contained in:
Greg Gauthier 2025-10-12 20:32:58 +01:00
parent 2ba44e65be
commit 7880a25fef
2 changed files with 1 additions and 2 deletions

View File

@ -155,7 +155,6 @@ int main(int argc, char *argv[]) {
category = argv[i + 1]; category = argv[i + 1];
i += 2; i += 2;
} else { } else {
/* This is the message */
message = argv[i]; message = argv[i];
i++; i++;
break; /* Only take first non-option as message */ break; /* Only take first non-option as message */

View File

@ -172,7 +172,7 @@ int get_cnotes_path(char *buffer, size_t bufsize) {
} }
/* start with a simple cat of the file */ /* start with a simple cat of the file */
main(int argc, char *argv[]) { int main(int argc, char *argv[]) {
FILE *notesfile; FILE *notesfile;
char file_path[600]; char file_path[600];
Entry entries[MAX_ENTRIES]; Entry entries[MAX_ENTRIES];