Changeset 2071
Legend:
- Unmodified
- Added
- Removed
-
trunk/NEWS
r2064 r2071 17 17 * mod_auth ldap rework, most important change is being able to startup if ldap server is down (#1535) 18 18 * fixed ECONNRESET handling in network-openssl 19 * fixed log_write() for log-files > 4kbyte 19 20 20 21 - 1.5.0-r19.. - -
trunk/src/log.c
r2048 r2071 322 322 va_end(ap); 323 323 324 /* if 'l' is between -1 and size we are good, 325 * otherwise we have to resize to size 326 */ 327 324 328 if (l > -1 && ((unsigned int) l) < b->size) { 325 329 b->used = l + 1; … … 329 333 330 334 if (l > -1) { 331 /* l is the mem-size we need */335 /* C99: l is the mem-size we need */ 332 336 buffer_prepare_copy(b, l); 333 337 } else { 334 /* try to get some more bytes and try again*/335 buffer_prepare_ append(b,512);338 /* glibc 2.0.x and earlier return -1 */ 339 buffer_prepare_copy(b, b->size + 512); 336 340 } 337 341 } while(1);

