Commit 693d46ee authored by Pekka Pessi's avatar Pekka Pessi
Browse files

test_nua.c: silenced a warning about fgets()

parent 27114fc3
...@@ -215,10 +215,10 @@ int main(int argc, char *argv[]) ...@@ -215,10 +215,10 @@ int main(int argc, char *argv[])
} }
if (o_attach) { if (o_attach) {
char line[10]; char line[10], *l;
printf("%s: pid %lu\n", name, (unsigned long)getpid()); printf("%s: pid %lu\n", name, (unsigned long)getpid());
printf("<Press RETURN to continue>\n"); printf("<Press RETURN to continue>\n");
fgets(line, sizeof line, stdin); l = fgets(line, sizeof line, stdin);
} }
else if (o_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