aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/ipaccess/abisip-find.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/ipaccess/abisip-find.c b/src/ipaccess/abisip-find.c
index d94e18af1..4e1d192e4 100644
--- a/src/ipaccess/abisip-find.c
+++ b/src/ipaccess/abisip-find.c
@@ -312,12 +312,8 @@ static void handle_response(unsigned char *buf, int len)
base_stations_bump(changed);
printf("RX: %u \r", responses);
fflush(stdout);
- } else {
- char *line = parse_response(ctx, buf, len);
- printf(line);
- printf("\n");
- talloc_free(line);
- }
+ } else
+ printf("%s\n", parse_response(ctx, buf, len));
}
static int read_response(int fd)