summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorNakidai <nakidai@disroot.org>2024-11-24 18:29:10 +0300
committerNakidai <nakidai@disroot.org>2024-11-24 18:29:10 +0300
commit05a336fde6919160426dde2b2f088eb2e740085e (patch)
tree37513b46ac9d335f2322c2c1ef0b6f3e60a2b8e7 /src
parentc7d38eb85062c86c2ca6c411a8c805501a748e59 (diff)
downloadlibhttpc-05a336fde6919160426dde2b2f088eb2e740085e.tar.gz
libhttpc-05a336fde6919160426dde2b2f088eb2e740085e.zip
LibHTTPC_Status_OK instead of 200
Diffstat (limited to 'src')
-rw-r--r--src/response.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/response.c b/src/response.c
index d3411ae..0977c8f 100644
--- a/src/response.c
+++ b/src/response.c
@@ -12,7 +12,7 @@ char *LibHTTPC_dumpResponse(struct LibHTTPC_Response *response, char *buf, size_
     if (!response->version)
         response->version = "HTTP/1.1";
     if (!response->status)
-        response->status = 200;
+        response->status = LibHTTPC_Status_OK;
     if (!response->phrase)
         response->phrase = LibHTTPC_dumpStatus(LibHTTPC_Status_OK);