commit 551393fa46e4052d0af0c66e840cf77d9419810c
parent b6e951237182528483a6b23234d025d18116ba2a
Author: Andreas Gruhler <agruhl@gmx.ch>
Date: Mon, 31 May 2021 23:21:40 +0200
comment
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/caldav.c b/caldav.c
@@ -101,7 +101,7 @@ char* read_tokenfile() {
access_token = extract_json_value(token_buff, "access_token", true);
- // our program segfaults if we supply a NULL value to atoi
+ // program segfaults if NULL value is provided to atoi
char* token_ttl_str = extract_json_value(token_buff, "expires_in", false);
if (token_ttl_str == NULL) {
token_ttl = 0;