summaryrefslogtreecommitdiffhomepage
path: root/examples/cgi/cgi.cc
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2025-03-30 12:12:14 +0200
committerAmlal El Mahrouss <amlal@nekernel.org>2025-03-30 12:12:14 +0200
commit99e8b0978552849bb8fc90c42e3d57e86c0f45fb (patch)
treebaa8116ab9f3919b25c19631beeb264e286b527d /examples/cgi/cgi.cc
parent5afa9fff406fff75d0c6b216746558c9f5a70d09 (diff)
cgi.cc: rename 'g_file_list' to 'g_not_found'
Diffstat (limited to 'examples/cgi/cgi.cc')
-rw-r--r--examples/cgi/cgi.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/cgi/cgi.cc b/examples/cgi/cgi.cc
index 7897122..4d9b0d8 100644
--- a/examples/cgi/cgi.cc
+++ b/examples/cgi/cgi.cc
@@ -10,7 +10,7 @@
#include <string>
#include <filesystem>
-const std::string g_file_list = R"(
+const std::string g_not_found = R"(
<!DOCTYPE html>
<html>
<head>
@@ -82,7 +82,7 @@ int main(int argc, char** argv)
if (fp.good())
ss_file << fp.rdbuf();
else
- ss_file << g_file_list;
+ ss_file << g_not_found;
fp.close();