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

Contents of /hydra/src/timestamp.c

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations)
Wed Sep 25 19:55:53 2002 UTC (21 years, 6 months ago) by nmav
Branch: MAIN
CVS Tags: hydra_0_0_2
Changes since 1.3: +4 -4 lines
File MIME type: text/plain
Added support for multiple directory indexes. Droped support for uncompressing gziped files.

1 /*
2 * Boa, 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.3 2002/09/24 21:47:26 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