Fossil SCM
Changed a fatal error message speaking of the TCP socket's port number in a call to a function that may now use a Unix socket instead.
Commit
28de3fab86bcc78579724b58a0e6233024b4110e936e728f65cb4f1a664a8319
Parent
9f71e5cc027f656…
1 file changed
+1
-1
+1
-1
| --- src/main.c | ||
| +++ src/main.c | ||
| @@ -3519,11 +3519,11 @@ | ||
| 3519 | 3519 | fossil_setenv("SERVER_SOFTWARE", "fossil version " RELEASE_VERSION |
| 3520 | 3520 | " " MANIFEST_VERSION " " MANIFEST_DATE); |
| 3521 | 3521 | #if !defined(_WIN32) |
| 3522 | 3522 | /* Unix implementation */ |
| 3523 | 3523 | if( cgi_http_server(iPort, mxPort, zBrowserCmd, zIpAddr, flags) ){ |
| 3524 | - fossil_fatal("unable to listen on TCP socket %d", iPort); | |
| 3524 | + fossil_fatal("unable to listen on CGI socket"); | |
| 3525 | 3525 | } |
| 3526 | 3526 | /* For the parent process, the cgi_http_server() command above never |
| 3527 | 3527 | ** returns (except in the case of an error). Instead, for each incoming |
| 3528 | 3528 | ** client connection, a child process is created, file descriptors 0 |
| 3529 | 3529 | ** and 1 are bound to that connection, and the child returns. |
| 3530 | 3530 |
| --- src/main.c | |
| +++ src/main.c | |
| @@ -3519,11 +3519,11 @@ | |
| 3519 | fossil_setenv("SERVER_SOFTWARE", "fossil version " RELEASE_VERSION |
| 3520 | " " MANIFEST_VERSION " " MANIFEST_DATE); |
| 3521 | #if !defined(_WIN32) |
| 3522 | /* Unix implementation */ |
| 3523 | if( cgi_http_server(iPort, mxPort, zBrowserCmd, zIpAddr, flags) ){ |
| 3524 | fossil_fatal("unable to listen on TCP socket %d", iPort); |
| 3525 | } |
| 3526 | /* For the parent process, the cgi_http_server() command above never |
| 3527 | ** returns (except in the case of an error). Instead, for each incoming |
| 3528 | ** client connection, a child process is created, file descriptors 0 |
| 3529 | ** and 1 are bound to that connection, and the child returns. |
| 3530 |
| --- src/main.c | |
| +++ src/main.c | |
| @@ -3519,11 +3519,11 @@ | |
| 3519 | fossil_setenv("SERVER_SOFTWARE", "fossil version " RELEASE_VERSION |
| 3520 | " " MANIFEST_VERSION " " MANIFEST_DATE); |
| 3521 | #if !defined(_WIN32) |
| 3522 | /* Unix implementation */ |
| 3523 | if( cgi_http_server(iPort, mxPort, zBrowserCmd, zIpAddr, flags) ){ |
| 3524 | fossil_fatal("unable to listen on CGI socket"); |
| 3525 | } |
| 3526 | /* For the parent process, the cgi_http_server() command above never |
| 3527 | ** returns (except in the case of an error). Instead, for each incoming |
| 3528 | ** client connection, a child process is created, file descriptors 0 |
| 3529 | ** and 1 are bound to that connection, and the child returns. |
| 3530 |