X-Git-Url: http://git.jankratochvil.net/?p=gnokii.git;a=blobdiff_plain;f=common%2Fdevices%2Funixserial.c;h=916ba4adcf03ca52f4047860a6b2d36deaa77529;hp=e9dcb17728cf3847429e45cae39d7a93ef0fdf0a;hb=2c2798de53319dcec0435cd651e3e1922bdd6e86;hpb=f38db065f681dff9c932499a640d02bf914cd513 diff --git a/common/devices/unixserial.c b/common/devices/unixserial.c index e9dcb17..916ba4a 100644 --- a/common/devices/unixserial.c +++ b/common/devices/unixserial.c @@ -11,8 +11,11 @@ Released under the terms of the GNU GPL, see file COPYING for more details. $Log$ - Revision 1.1.1.2 2001/11/27 22:01:15 short - :pserver:cvs@pserver.samba.org:/cvsroot - gnokii - Tue Nov 27 22:58 CET 2001 + Revision 1.1.1.3 2001/12/05 03:16:40 short + :pserver:cvs@pserver.samba.org:/cvsroot - gnokii - Tue Dec 4 22:45 CET 2001 + + Revision 1.12 2001/11/29 17:54:56 pkot + Cleanup. Removed cvs logs. Revision 1.11 2001/11/27 12:19:01 pkot Cleanup, indentation, ANSI complaint preprocesor symbols (Jan Kratochvil, me) @@ -262,11 +265,8 @@ void serial_changespeed(int __fd, int __speed) #ifndef SGTTY tcgetattr(__fd, &t); - // This is not needed! We set up the speed via cfsetspeed - // t.c_cflag &= ~CBAUD; - // t.c_cflag |= speed; if (cfsetspeed(&t, speed) == -1) - dprintf(_("Serial port speed setting failed\n")); + dprintf("Serial port speed setting failed\n"); tcsetattr(__fd, TCSADRAIN, &t); #else