/[hydra]/hydra/src/timestamp.c
ViewVC logotype

Contents of /hydra/src/timestamp.c

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations)
Sat Sep 28 17:49:13 2002 UTC (21 years, 6 months ago) by nmav
Branch: MAIN
CVS Tags: hydra_0_1_6_without_hic, hydra_0_0_10, hydra_0_0_8, hydra_0_0_9, hydra_0_0_3, hydra_0_0_6, hydra_0_0_7, hydra_0_0_4, hydra_0_0_5, hydra_0_1_3, hydra_0_1_2, hydra_0_1_1, hydra_0_1_0, hydra_0_1_7, hydra_0_1_6, hydra_0_1_4, hydra_0_1_8, HEAD
Branch point for: hydra_0_1_0_patches
Changes since 1.5: +3 -3 lines
File MIME type: text/plain
*** empty log message ***

1 /*
2 * Hydra, an http server
3 * Copyright (C) 1998 Jon Nelson <jnelson@boa.org>
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 1, or (at your option)
8 * any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
18 *
19 */
20
21 /* $Id: timestamp.c,v 1.5 2002/09/28 16:32:37 nmav Exp $*/
22
23 #include "boa.h"
24
25 void timestamp(void)
26 {
27 log_error_time();
28 fprintf(stderr, "%s: server version %s\n", SERVER_NAME, SERVER_VERSION);
29 log_error_time();
30 fprintf(stderr, "%s: server built " __DATE__ " at " __TIME__ ".\n", SERVER_NAME);
31 log_error_time();
32 fprintf(stderr, "%s: starting server pid=%d", SERVER_NAME, getpid());
33 if (server_port && boa_ssl != 1)
34 fprintf(stderr, ", port=%d", server_port);
35 if (ssl_port && boa_ssl > 0)
36 fprintf(stderr, ", SSL port=%d", ssl_port);
37 fprintf(stderr, "\n");
38 }

webmaster@linux.gr
ViewVC Help
Powered by ViewVC 1.1.26