Commit a5ae816d authored by Pekka Pessi's avatar Pekka Pessi
Browse files

test_nta.c: fixed warning about fgets().

parent cc5d3e74
......@@ -3335,10 +3335,10 @@ int main(int argc, char *argv[])
if (o_attach) {
char line[10];
char line[10], *got;
printf("nua_test: pid %u\n", getpid());
printf("<Press RETURN to continue>\n");
fgets(line, sizeof line, stdin);
got = fgets(line, sizeof line, stdin); (void)got;
else if (o_alarm) {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment