[Freeswitch-svn] [commit] r12384 - in freeswitch/trunk/libs/sofia-sip: . libsofia-sip-ua/soa

FreeSWITCH SVN mikej at freeswitch.org
Tue Mar 3 09:24:01 PST 2009


Author: mikej
Date: Tue Mar  3 11:24:01 2009
New Revision: 12384

Log:
Tue Mar  3 10:56:34 CST 2009  Pekka Pessi <first.last at nokia.com>
  * test_soa.c: ignore fgets() return value. really.



Modified:
   freeswitch/trunk/libs/sofia-sip/.update
   freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/soa/test_soa.c

Modified: freeswitch/trunk/libs/sofia-sip/.update
==============================================================================
--- freeswitch/trunk/libs/sofia-sip/.update	(original)
+++ freeswitch/trunk/libs/sofia-sip/.update	Tue Mar  3 11:24:01 2009
@@ -1 +1 @@
-Tue Mar  3 11:23:11 CST 2009
+Tue Mar  3 11:23:38 CST 2009

Modified: freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/soa/test_soa.c
==============================================================================
--- freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/soa/test_soa.c	(original)
+++ freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/soa/test_soa.c	Tue Mar  3 11:24:01 2009
@@ -2504,10 +2504,11 @@
 #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) {



More information about the Freeswitch-svn mailing list