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 dd5de127a721468b97bc4b7741cdb76f17812b8a
parent 209e54941ded32433e03070038ef8b0a6c2ed214
Author: Christoph Lohmann <20h@r-36.net>
Date:   Sat,  1 Sep 2018 14:20:50 +0200

Fix regression, if sport is never set.

Thanks Evil_Bob for reporting!

Diffstat:
main.c | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/main.c b/main.c @@ -444,6 +444,9 @@ main(int argc, char *argv[]) usage(); } ARGEND; + if (sport == NULL) + sport = port; + if (argc != 0) usage();