Changeset a9f9cf219e5f72b7ab7572aa93337ea47935eb23

Show
Ignore:
Timestamp:
02/11/08 22:57:10 (7 years ago)
Author:
Theo Schlossnagle <jesus@omniti.com>
git-committer:
Theo Schlossnagle <jesus@omniti.com> 1202770630 +0000
git-parent:

[a51d2e9e6da30f14f68240ffaca9e9d0ef8c0a35]

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

fix prototype, we shouldn't edit out write buffer

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/noit_console.c

    r67a2095 ra9f9cf2  
    114114} 
    115115int 
    116 nc_write(noit_console_closure_t ncct, void *buf, int len) { 
     116nc_write(noit_console_closure_t ncct, const void *buf, int len) { 
    117117  if(!ncct->outbuf_allocd) { 
    118118    ncct->outbuf = malloc(len); 
  • src/noit_console.h

    rabfe586 ra9f9cf2  
    101101 
    102102API_EXPORT(int) 
    103   nc_write(noit_console_closure_t ncct, void *buf, int len); 
     103  nc_write(noit_console_closure_t ncct, const void *buf, int len); 
    104104 
    105105API_EXPORT(int)