geomyidae

A small C-based gopherd. (gopher://bitreich.org/1/scm/geomyidae)
git clone git://r-36.net/geomyidae
Log | Files | Refs | README | LICENSE

commit 72fa3a9a1750ffa0b5fc2f4fb33f7daafe57a368
parent 136e096d34f8f7751e8b9d0f10c0c51c223f4894
Author: Christoph Lohmann <20h@r-36.net>
Date:   Fri, 11 Mar 2011 23:53:26 +0100

Removing unneeded string.

Diffstat:
ind.c | 4+---
1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/ind.c b/ind.c @@ -279,10 +279,8 @@ smprintf(char *fmt, ...) char *ret; int size; - ret = ""; - va_start(fmtargs, fmt); - size = vsnprintf(ret, 0, fmt, fmtargs); + size = vsnprintf(NULL, 0, fmt, fmtargs); va_end(fmtargs); ret = gmallocz(++size, 2);