# HG changeset patch # User Matti Hamalainen # Date 1525994789 -10800 # Node ID e8fe529f43413adcf4eee1bfcbeac4821c883d80 # Parent f0232684857a61d92348f7592da1d751797d9ddb Rename one of the growbuf functions. diff -r f0232684857a -r e8fe529f4341 src/dmgrowbuf.c --- a/src/dmgrowbuf.c Fri May 11 02:26:09 2018 +0300 +++ b/src/dmgrowbuf.c Fri May 11 02:26:29 2018 +0300 @@ -125,7 +125,7 @@ } -BOOL dmGrowBufPutStr(DMGrowBuf *buf, const void *str, const size_t len) +BOOL dmGrowBufPut(DMGrowBuf *buf, const void *str, const size_t len) { if (str == NULL) return FALSE; diff -r f0232684857a -r e8fe529f4341 src/dmgrowbuf.h --- a/src/dmgrowbuf.h Fri May 11 02:26:09 2018 +0300 +++ b/src/dmgrowbuf.h Fri May 11 02:26:29 2018 +0300 @@ -30,7 +30,7 @@ int dmGrowBufResize(DMGrowBuf *buf); BOOL dmGrowBufPutU8(DMGrowBuf *buf, const Uint8 value); -BOOL dmGrowBufPutStrU8(DMGrowBuf *buf, const void *str, const size_t len); +BOOL dmGrowBufPut(DMGrowBuf *buf, const void *str, const size_t len); BOOL dmGrowBufPutU16BE(DMGrowBuf *buf, const Uint16 val); BOOL dmGrowBufPutU16LE(DMGrowBuf *buf, const Uint16 val);