commit ad2717203e816273b38c4e5e7bc613ddcfd4cd1b
parent 8e4e16fee5c55230ba3c377c89173e1e3ba0e4e5
Author: Andreas Gruhler <andreas.gruhler@uzh.ch>
Date: Wed, 21 Dec 2016 14:10:24 +0100
Merge pull request #33 from shaggytwodope/master
minor typo
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/diary.c b/diary.c
@@ -235,7 +235,7 @@ void fpath(const char* dir, size_t dir_size, const struct tm* date, char** rpath
// check for terminating '/' in path
if (dir[dir_size - 1] != '/') {
- // check size again to accomodate '/'
+ // check size again to accommodate '/'
if (dir_size + 1 > rpath_size) {
fprintf(stderr, "Directory path too long");
*rpath = NULL;