diff seobeo/s_web.c @ 76:35b1abc37969

Updating my website to use seobeo library.
author June Park <parkjune1995@gmail.com>
date Wed, 31 Dec 2025 14:11:21 -0800
parents 4532ce6d9eb8
children c348ac875294
line wrap: on
line diff
--- a/seobeo/s_web.c	Wed Dec 31 11:20:08 2025 -0800
+++ b/seobeo/s_web.c	Wed Dec 31 14:11:21 2025 -0800
@@ -29,9 +29,9 @@
   );
 }
 
-// Load file from disk and cache it
 static char* Seobeo_Web_LoadFile(const char *file_path, size_t *p_file_size)
 {
+  printf("file_path: %s\n", file_path);
   char full_path[1024];
   snprintf(full_path, sizeof(full_path), "%s/%s", g_folder_path, file_path);
 
@@ -60,8 +60,9 @@
   return p_content;
 }
 
-void Seobeo_Web_Header_Generate(void *buffer, int status,
-                                       const char *content_type, const int content_length)
+void Seobeo_Web_Header_Generate(
+    void *buffer, int status,
+    const char *content_type, const int content_length)
 {
   const char *status_text;
   switch(status)