Mercurial
diff hg-web/main.c @ 109:1c446ab6f945
[MrJuneJune] New Blog about writing Seobeo library.
| author | June Park <parkjune1995@gmail.com> |
|---|---|
| date | Sat, 03 Jan 2026 19:37:51 -0800 |
| parents | f07abbcd2ec5 |
| children | ffb764d2fcc5 |
line wrap: on
line diff
--- a/hg-web/main.c Sat Jan 03 17:29:12 2026 -0800 +++ b/hg-web/main.c Sat Jan 03 19:37:51 2026 -0800 @@ -286,7 +286,8 @@ snprintf(command, sizeof(command), "hg -R %s serve --stdio 2>&1", REPO_ROOT); FILE *hg_pipe = popen(command, "r+"); - if (!hg_pipe) { + if (!hg_pipe) + { Seobeo_Log(SEOBEO_DEBUG, "Failed to open pipe\n"); return resp; }