Commit Diff


commit - 82ce21d0158711f26894b26653c3eeab65115c4c
commit + 6c739557ef552609512f2d7d7cf8ce42600b76d7
blob - fa386a8047ec2f02e430d870cf15f532fe6e235a
blob + fc3fcfec2380b5651dbc025725aedf1f9db3b99b
--- parser_gophermap.c
+++ parser_gophermap.c
@@ -53,6 +53,9 @@ gm_parse_selector(char *line, struct gm_selector *s)
 {
 	s->type = *line++;
 	s->ds = line;
+	s->selector = "";
+	s->addr = "";
+	s->port = "";
 
 	if ((line = strchr(line, '\t')) == NULL)
 		return;