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 5bf1e15c55.

Change-Id: I613781495edbc53916ca70ff7b78d28ffabd3f5d
This commit is contained in:
Max 2017-12-29 14:12:06 +01:00
parent 0bd729f3ad
commit ec54daba5c
1 changed files with 2 additions and 6 deletions

View File

@ -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)