cleanup and prep for continued work
This commit is contained in:
parent
2ba44e65be
commit
7880a25fef
@ -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 */
|
||||||
|
@ -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];
|
||||||
|
Loading…
Reference in New Issue
Block a user