From 3a8f0e76d1dc16ce2158557daf20296316237bb8 Mon Sep 17 00:00:00 2001 From: Mikhail Novosyolov Date: Wed, 15 Jun 2022 17:50:39 +0300 Subject: [PATCH] Print random ID of request to easify debugging --- webserver/doskast-trigger-connect.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webserver/doskast-trigger-connect.c b/webserver/doskast-trigger-connect.c index 14d8061..40668bd 100644 --- a/webserver/doskast-trigger-connect.c +++ b/webserver/doskast-trigger-connect.c @@ -168,7 +168,7 @@ fcgi_out: printf("Status: %d\r\n", http_code); printf("\r\n", http_code); if (http_code == HTTP_OK) { - printf("%s\r\n", "OK"); + printf("OK (%s)\r\n", hex); rc = 0; } else { if (error_msg)