src/server/daemon/protocol.c

changeset 415
d938228c382e
parent 251
f727a21497bb
child 432
7c9137f9e7f9
--- a/src/server/daemon/protocol.c	Wed Nov 02 19:19:01 2022 +0100
+++ b/src/server/daemon/protocol.c	Sun Nov 06 15:53:32 2022 +0100
@@ -58,7 +58,7 @@
 
 /*
  * http_status_message from Open Webserver (frame/http.cpp)
- * TODO: replace, use sstr_t
+ * TODO: replace, use cxmutstr
  */
 NSAPI_PUBLIC const char * protocol_status_message (int code)
 {
@@ -379,7 +379,7 @@
 
 int http_send_continue(Session *sn) {
     NSAPISession *s = (NSAPISession*)sn;
-    sstr_t msg = S("HTTP/1.1 100 Continue\r\n\r\n");
+    cxstring msg = CX_STR("HTTP/1.1 100 Continue\r\n\r\n");
     int w = s->connection->write(s->connection, msg.ptr, msg.length);
     if(w != msg.length) {
         return 1;

mercurial