commit e503b2ddb96aacb9154e88470cdea0bb8f0d6560 parent 08f6fdb8f0c4c100cb46ded1b7ad7ec36fa080a8 Author: Andreas Gruhler <agruhl@gmx.ch> Date: Sat, 22 May 2021 10:51:20 +0200 return if no tokenfile Diffstat:
M | caldav.c | | | 1 | + |
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/caldav.c b/caldav.c @@ -86,6 +86,7 @@ char* read_tokenfile() { token_file = fopen(tokenfile_path, "r"); if (token_file == NULL) { perror("Failed to open tokenfile"); + return NULL; } fseek(token_file, 0, SEEK_END);