diary

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

commit 70a73bd7a3a000bd74bb351a501f075e5bdbd708
parent 9a44175168693fe28191355daa181ab15f946780
Author: Andreas Gruhler <agruhl@gmx.ch>
Date:   Sat,  4 Dec 2021 22:20:46 +0100

formatting

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

diff --git a/src/caldav.c b/src/caldav.c @@ -420,7 +420,7 @@ char* caldav_req(struct tm* date, char* url, char* http_method, char* postfields struct curl_slist *header = NULL; char bearer_token[strlen("Authorization: Bearer")+strlen(access_token)]; sprintf(bearer_token, "Authorization: Bearer %s", access_token); - char depth_header[strlen("Depth: 0")+1]; + char depth_header[strlen("Depth: 0") + 1]; sprintf(depth_header, "Depth: %i", depth); header = curl_slist_append(header, depth_header); header = curl_slist_append(header, bearer_token);