IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 15851


Ignore:
Timestamp:
Dec 15, 2007, 8:42:32 AM (18 years ago)
Author:
eugene
Message:

added debug statements

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/libohana/src/IOBufferOps.c

    r13551 r15851  
    11# include <ohana.h>
     2# define DEBUG 0
    23
    34int InitIOBuffer (IOBuffer *buffer, int Nalloc) {
     
    4445
    4546  Nread = read (fd, &buffer[0].buffer[buffer[0].Nbuffer], buffer[0].Nblock);
     47  if (DEBUG) fprintf (stderr, "read IO buffer: (%x) %d from %d\n", buffer, Nread, buffer[0].Nblock);
    4648
    4749  /* on success, increase the block size for the next read */
Note: See TracChangeset for help on using the changeset viewer.