diff options
author | james <> | 2010-07-27 14:49:35 +0000 |
---|---|---|
committer | james <> | 2010-07-27 14:49:35 +0000 |
commit | 789f759f4cea382053851669bb7076d9a990a2cd (patch) | |
tree | 26776194e6b4ce257e526876a2a0518844a9a258 /src/tty.c | |
parent | 6faf91bb7c43b69f7132f76bc520e60e8b8677c6 (diff) | |
download | sympathy-789f759f4cea382053851669bb7076d9a990a2cd.tar.gz sympathy-789f759f4cea382053851669bb7076d9a990a2cd.tar.bz2 sympathy-789f759f4cea382053851669bb7076d9a990a2cd.zip |
add support for byte logging
Diffstat (limited to 'src/tty.c')
-rw-r--r-- | src/tty.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -10,6 +10,9 @@ static char rcsid[] = "$Id$"; /* * $Log$ + * Revision 1.27 2010/07/27 14:49:35 james + * add support for byte logging + * * Revision 1.26 2008/03/10 11:49:33 james * *** empty log message *** * @@ -493,7 +496,7 @@ tty_analyse (Context * c) p->guessed_baud = -1; } else { - if (i > 0) + if (i > 0 && j > 0) p->guessed_baud = i / j; else p->guessed_baud = 0; |