projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Be slightly more forgiving about the nature of SVN_REV; bob will be
[u/mdw/putty]
/
unix
/
uxcfg.c
diff --git
a/unix/uxcfg.c
b/unix/uxcfg.c
index
de8e886
..
c7d8d5f
100644
(file)
--- a/
unix/uxcfg.c
+++ b/
unix/uxcfg.c
@@
-10,7
+10,7
@@
#include "dialog.h"
#include "storage.h"
#include "dialog.h"
#include "storage.h"
-void unix_setup_config_box(struct controlbox *b, int midsession)
+void unix_setup_config_box(struct controlbox *b, int midsession
, int protocol
)
{
struct controlset *s;
union control *c;
{
struct controlset *s;
union control *c;
@@
-75,5
+75,6
@@
void unix_setup_config_box(struct controlbox *b, int midsession)
* space parity are not conveniently supported, and neither is
* DSR/DTR flow control.
*/
* space parity are not conveniently supported, and neither is
* DSR/DTR flow control.
*/
- ser_setup_config_box(b, midsession, 0x07, 0x07);
+ if (!midsession || (protocol == PROT_SERIAL))
+ ser_setup_config_box(b, midsession, 0x07, 0x07);
}
}