Changeset 622

Show
Ignore:
Timestamp:
08/07/08 05:39:39 (5 months ago)
Author:
markdoliner
Message:

Make this comment a lot better

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/util/nad.c

    r545 r622  
    6464#define BLOCKSIZE 128 
    6565 
    66 /** internal: do and return the math and ensure it gets realloc'd */ 
     66/** 
     67 * Reallocate the given buffer to make it larger. 
     68 * 
     69 * @param oblocks A pointer to a buffer that will be made larger. 
     70 * @param len     The minimum size in bytes to make the buffer.  The 
     71 *                actual size of the buffer will be rounded up to the 
     72 *                nearest block of 1024 bytes. 
     73 * 
     74 * @return The new size of the buffer in bytes. 
     75 */ 
    6776static int _nad_realloc(void **oblocks, int len) 
    6877{