[Olsr-cvs] olsrd-current/src/olsr_switch ohs_cmd.c,1.20,1.21
Thomas Lopatic
(spam-protected)
Tue Nov 22 11:12:32 CET 2005
Update of /cvsroot/olsrd/olsrd-current/src/olsr_switch
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23206/src/olsr_switch
Modified Files:
ohs_cmd.c
Log Message:
Removed spurious fgets().
Index: ohs_cmd.c
===================================================================
RCS file: /cvsroot/olsrd/olsrd-current/src/olsr_switch/ohs_cmd.c,v
retrieving revision 1.20
retrieving revision 1.21
diff -C2 -d -r1.20 -r1.21
*** ohs_cmd.c 20 Nov 2005 20:45:33 -0000 1.20
--- ohs_cmd.c 22 Nov 2005 10:12:30 -0000 1.21
***************
*** 601,606 ****
else
#else
- fgets(cmd_line, sizeof (cmd_line), stdin);
-
if(fgets(cmd_line, sizeof (cmd_line), stdin) == NULL) {
ohs_cmd_exit(NULL);
--- 601,604 ----
More information about the Olsr-cvs
mailing list