1
0
mirror of https://github.com/lammertb/libhttp.git synced 2025-09-04 12:42:09 +03:00

Updated version to 1.2

This commit is contained in:
Thomas Davis
2013-08-24 02:56:07 -04:00
parent 7bc5e59d0c
commit e7510a572a
2 changed files with 3 additions and 3 deletions

View File

@@ -249,7 +249,7 @@ typedef int SOCKET;
#include "civetweb.h" #include "civetweb.h"
#define CIVETWEB_VERSION "1.1" #define CIVETWEB_VERSION "1.2"
#define PASSWORDS_FILE_NAME ".htpasswd" #define PASSWORDS_FILE_NAME ".htpasswd"
#define CGI_ENVIRONMENT_SIZE 4096 #define CGI_ENVIRONMENT_SIZE 4096
#define MAX_CGI_ENVIR_VARS 64 #define MAX_CGI_ENVIR_VARS 64

View File

@@ -106,7 +106,7 @@ static void show_usage_and_exit(void) {
const char **names; const char **names;
int i; int i;
fprintf(stderr, "Civetweb version %s (c) Sergey Lyubka, built on %s\n", fprintf(stderr, "Civetweb v%s, built on %s\n",
mg_version(), __DATE__); mg_version(), __DATE__);
fprintf(stderr, "Usage:\n"); fprintf(stderr, "Usage:\n");
fprintf(stderr, " civetweb -A <htpasswd_file> <realm> <user> <passwd>\n"); fprintf(stderr, " civetweb -A <htpasswd_file> <realm> <user> <passwd>\n");
@@ -273,7 +273,7 @@ static void process_command_line_arguments(char *argv[], char **options) {
} }
static void init_server_name(void) { static void init_server_name(void) {
snprintf(server_name, sizeof(server_name), "Civetweb web server v.%s", snprintf(server_name, sizeof(server_name), "Civetweb v%s",
mg_version()); mg_version());
} }