Tue Mar 3 10:56:34 CST 2009 Pekka Pessi <first.last@nokia.com>

* test_soa.c: ignore fgets() return value. really.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12384 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2009-03-03 17:24:01 +00:00
parent 82a42fc678
commit 721735cd90
2 changed files with 4 additions and 3 deletions

View File

@ -1 +1 @@
Tue Mar 3 11:23:11 CST 2009
Tue Mar 3 11:23:38 CST 2009

View File

@ -2504,10 +2504,11 @@ int main(int argc, char *argv[])
#endif
if (o_attach) {
char line[10];
char line[10], *cr;
printf("%s: pid %u\n", name, getpid());
printf("<Press RETURN to continue>\n");
fgets(line, sizeof line, stdin);
cr = fgets(line, sizeof line, stdin);
(void)cr;
}
#if HAVE_ALARM
else if (o_alarm) {