Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Cherokee: commits

[3404] cherokee/trunk: Fixes a compilation problem

 

 

Cherokee commits RSS feed   Index | Next | Previous | View Threaded


cherokee at cherokee-project

Jun 30, 2009, 2:02 AM

Post #1 of 1 (93 views)
Permalink
[3404] cherokee/trunk: Fixes a compilation problem

Revision: 3404
http://svn.cherokee-project.com/changeset/3404
Author: alo
Date: 2009-06-30 11:02:57 +0200 (Tue, 30 Jun 2009)

Log Message:
-----------
Fixes a compilation problem

Modified Paths:
--------------
cherokee/trunk/cget/main.c
cherokee/trunk/cherokee/Makefile.am
cherokee/trunk/cherokee/error_log.c

Modified: cherokee/trunk/cget/main.c
===================================================================
--- cherokee/trunk/cget/main.c 2009-06-29 18:41:35 UTC (rev 3403)
+++ cherokee/trunk/cget/main.c 2009-06-30 09:02:57 UTC (rev 3404)
@@ -219,7 +219,7 @@
cherokee_header_get_length (hdr, &len);
written = write (output_fd, hdr->input_buffer->buf, len);
if (written < 0) {
- PRINT_ERROR_S ("Can not write to output file\n");
+ PRINT_MSG_S ("ERROR: Can not write to output file\n");
return ret_error;
}
}
@@ -387,7 +387,7 @@
} else {
global_fd = open (optarg, O_WRONLY | O_CREAT, 0644);
if (global_fd < 0) {
- PRINT_ERROR ("ERROR: Can not open %s\n", optarg);
+ PRINT_MSG ("ERROR: Can not open %s\n", optarg);
return EXIT_ERROR;
}
}

Modified: cherokee/trunk/cherokee/Makefile.am
===================================================================
--- cherokee/trunk/cherokee/Makefile.am 2009-06-29 18:41:35 UTC (rev 3403)
+++ cherokee/trunk/cherokee/Makefile.am 2009-06-30 09:02:57 UTC (rev 3404)
@@ -1283,8 +1283,13 @@
bogotime.h \
bogotime.c \
cache.h \
-cache.c
+cache.c \
+logger.h \
+logger.c \
+logger_writer.h \
+logger_writer.c

+
libcherokee_client_la_SOURCES = \
url.h \
url.c \
@@ -1418,10 +1423,6 @@
virtual_server.c \
encoder.h \
encoder.c \
-logger.h \
-logger.c \
-logger_writer.h \
-logger_writer.c \
thread.h \
thread.c \
plugin.h \

Modified: cherokee/trunk/cherokee/error_log.c
===================================================================
--- cherokee/trunk/cherokee/error_log.c 2009-06-29 18:41:35 UTC (rev 3403)
+++ cherokee/trunk/cherokee/error_log.c 2009-06-30 09:02:57 UTC (rev 3404)
@@ -36,7 +36,8 @@
}

ret_t
-cherokee_error_log (cherokee_error_type_t type, const char *format, ...)
+cherokee_error_log (cherokee_error_type_t type,
+ const char *format, ...)
{
va_list ap;
cherokee_logger_t *logger;
@@ -89,7 +90,10 @@
}


-ret_t cherokee_error_errno_log (int error, cherokee_error_type_t type, const char *format, ...)
+ret_t
+cherokee_error_errno_log (int error,
+ cherokee_error_type_t type,
+ const char *format, ...)
{
va_list ap;
const char *errstr;

Cherokee commits RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.