CVSROOT: /cvs Module name: src Changes by: mill...@cvs.openbsd.org 2017/03/15 10:45:25
Modified files: usr.bin/whois : whois.c Log message: There's no need to realloc() a chunk of memory when you don't care about the old contents, we don't want have to memcpy() the old contents to the new chunk only to throw it away. While here, use asprintf() to simplify things. OK deraadt@