* All our process-death routine does is add its trace to the log. */
| 828 | * All our process-death routine does is add its trace to the log. |
| 829 | */ |
| 830 | static apr_status_t x_child_exit(void *data) |
| 831 | { |
| 832 | char *note; |
| 833 | server_rec *s = data; |
| 834 | char *sname = s->server_hostname; |
| 835 | |
| 836 | /* |
| 837 | * The arbitrary text we add to our trace entry indicates for which server |
| 838 | * we're being called. |
| 839 | */ |
| 840 | sname = (sname != NULL) ? sname : ""; |
| 841 | note = apr_pstrcat(s->process->pool, "x_child_exit(", sname, ")", NULL); |
| 842 | trace_startup(s->process->pool, s, NULL, note); |
| 843 | return APR_SUCCESS; |
| 844 | } |
| 845 | |
| 846 | /* |
| 847 | * All our process initialiser does is add its trace to the log. |
nothing calls this directly
no test coverage detected