Changeset 622
- Timestamp:
- 08/07/08 05:39:39 (5 months ago)
- Files:
-
- 1 modified
-
trunk/util/nad.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/util/nad.c
r545 r622 64 64 #define BLOCKSIZE 128 65 65 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 */ 67 76 static int _nad_realloc(void **oblocks, int len) 68 77 {
