diary

Text-based journaling program
git clone https://git.in0rdr.ch/diary.git
Log | Files | Refs | README | LICENSE

commit c9ffd3441c0dc0e598fc6e47341e3c9577c0bd5d
parent 32d3f2d69f0929062c7e00d92e91a2577f7b8a57
Author: Andreas Gruhler <agruhl@gmx.ch>
Date:   Sun,  3 Oct 2021 17:56:07 +0200

correct error msg

Diffstat:
Msrc/caldav.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/caldav.c b/src/caldav.c @@ -664,7 +664,7 @@ int caldav_sync(struct tm* date, char* tokenfile_path = expand_path(CONFIG.google_tokenfile); if (user_principal == NULL) { - fprintf(stderr, "Unable to fetch principal due to invalid tokenfile. Removing tokenfile '%s'.\n", CONFIG.google_tokenfile); + fprintf(stderr, "Unable to fetch principal. Offline or invalid tokenfile. Removing tokenfile '%s'.\n", CONFIG.google_tokenfile); wclear(header); mvwprintw(header, 0, 0, "Invalid Google OAuth2 credentials, removing tokenfile at '%s'. Please retry.", CONFIG.google_tokenfile);