ucx/logging.c

changeset 67
27e67e725d35
parent 57
e18157c52985
child 80
0125e4089f88
--- a/ucx/logging.c	Thu Oct 11 08:42:56 2012 +0200
+++ b/ucx/logging.c	Thu Oct 11 11:42:31 2012 +0200
@@ -11,7 +11,8 @@
     return logger;
 }
 
-void ucx_logger_log(UcxLogger *logger, unsigned int level, sstr_t message) {
+void ucx_logger_log(UcxLogger *logger, unsigned int level,
+        const sstr_t message) {
     if (level <= logger->level) {
         fwrite(message.ptr, 1, message.length, logger->stream);
         fflush(logger->stream);

mercurial