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 0fbb73a1590a323d17ac96dad034c608b891e56c
parent 64d0e03e59ae7734f8a71ce7899ca3e3f22f701c
Author: Christoph Lohmann <20h@r-36.net>
Date:   Sun, 27 Feb 2011 10:48:14 +0100

Forgot some whitespaces.

Diffstat:
ind.c | 10+++++-----
1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/ind.c b/ind.c @@ -1,5 +1,5 @@ /* - * Copy me if you can. + * Copy me if you can. * by 20h */ @@ -39,8 +39,8 @@ gettype(char *filename) int i; end = strrchr(filename, '.'); - if(end == nil) - return &type[0]; + if(end == nil) + return &type[0]; end++; for(i = 0; type[i].end != nil; i++) @@ -162,10 +162,10 @@ getadv(char *str) addelem(ret, "Err"); addelem(ret, "server"); addelem(ret, "port"); - + return ret; } - + b = str + 1; while((e = strchr(b, '|')) != nil) { *e = '\0';