comparison seobeo/tests/seobeo_web_server_test.c @ 128:7eb79fd91c7e

[Misc] Fixed all bazel targets. I should creat a separate scripts for these lol.
author June Park <parkjune1995@gmail.com>
date Thu, 08 Jan 2026 19:20:56 -0800
parents 7b1719fa918c
children
comparison
equal deleted inserted replaced
127:9af248484ba2 128:7eb79fd91c7e
10 return -1; 10 return -1;
11 } 11 }
12 12
13 if (server_pid == 0) 13 if (server_pid == 0)
14 { 14 {
15 printf("Starting server on port 8000...\n"); 15 printf("Starting server on port 8080...\n");
16 execlp(server_binary, NULL); 16 execl(server_binary, server_binary, NULL);
17 perror("execl failed"); 17 perror("execl failed");
18 exit(1); 18 exit(1);
19 } 19 }
20 20
21 printf("Server started (PID: %d)\n", server_pid); 21 printf("Server started (PID: %d)\n", server_pid);