commit ce38b3c66a9e66e20f062faa01926763fedfe406
parent 8e4e16fee5c55230ba3c377c89173e1e3ba0e4e5
Author: Johnathan Jenkins <john@nixheads.co.uk>
Date: Tue, 20 Dec 2016 20:59:11 -0800
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;