From ec54daba5cb1482aa9e8a6af41576c419b8461f6 Mon Sep 17 00:00:00 2001 From: Max Date: Fri, 29 Dec 2017 14:12:06 +0100 Subject: [PATCH] Fix .deb builds The code triggers following error: abisip-find.c:317:3: error: format not a string literal and no format arguments [-Werror=format-security] The error was introduced in 5bf1e15c55340f236d84f70d3d04c871403d3503. Change-Id: I613781495edbc53916ca70ff7b78d28ffabd3f5d --- src/ipaccess/abisip-find.c | 8 ++------ 1 file 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)