Changeset cdad681bbf990aa4c5d22969d78bc89581608812

Show
Ignore:
Timestamp:
02/18/08 17:24:45 (6 years ago)
Author:
Theo Schlossnagle <jesus@omniti.com>
git-committer:
Theo Schlossnagle <jesus@omniti.com> 1203355485 +0000
git-parent:

[6a58044fb9807d56307763ab94fb358372e56a42]

git-author:
Theo Schlossnagle <jesus@omniti.com> 1203355485 +0000
Message:

fix uninitialized args issue (and bad prototype)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/utils/noit_log.c

    r44d8413 rcdad681  
    6565  noit_hash_init(&noit_loggers); 
    6666  noit_stderr = noit_log_stream_new_on_fd("stderr", 2); 
    67   noit_error = noit_log_stream_new("error"); 
    68   noit_debug = noit_log_stream_new("debug"); 
     67  noit_error = noit_log_stream_new("error", NULL); 
     68  noit_debug = noit_log_stream_new("debug", NULL); 
    6969} 
    7070 
  • src/utils/noit_log.h

    r44d8413 rcdad681  
    3737 
    3838API_EXPORT(void) noit_log_init(); 
    39 API_EXPORT(noit_log_stream_t) noit_log_stream_new(); 
    40 API_EXPORT(noit_log_stream_t) noit_log_stream_new_on_fd(const char *name, int fd); 
    41 API_EXPORT(noit_log_stream_t) noit_log_stream_new_on_file(const char *path); 
    42 API_EXPORT(noit_log_stream_t) noit_log_stream_find(const char *name); 
     39API_EXPORT(noit_log_stream_t) noit_log_stream_new(const char *, logops_t *); 
     40API_EXPORT(noit_log_stream_t) noit_log_stream_new_on_fd(const char *, int); 
     41API_EXPORT(noit_log_stream_t) noit_log_stream_new_on_file(const char *); 
     42API_EXPORT(noit_log_stream_t) noit_log_stream_find(const char *); 
    4343API_EXPORT(void) noit_log_stream_add_stream(noit_log_stream_t ls, 
    4444                                            noit_log_stream_t outlet);