/* SDSLib, A C dynamic strings library
*
- * Copyright (c) 2006-2009, Salvatore Sanfilippo <antirez at gmail dot com>
+ * Copyright (c) 2006-2010, Salvatore Sanfilippo <antirez at gmail dot com>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
sds sdscatprintf(sds s, const char *fmt, ...) {
va_list ap;
char *buf, *t;
- size_t buflen = 32;
+ size_t buflen = 16;
while(1) {
buf = zmalloc(buflen);