Commit a5ae816d authored by Pekka Pessi's avatar Pekka Pessi

test_nta.c: fixed warning about fgets().

darcs-hash:20061214223907-65a35-f946b418a76b99505d7ef0f242df88e0509df98a.gz
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;
}
#if HAVE_ALARM
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