This commit is contained in:
Kim Woelders
2021-01-14 07:18:48 +01:00
parent 41802ce7e9
commit 089b733f27
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -45,7 +45,7 @@ void telnet_rfc2217_cfg(tn_ctx_t * tcc, int cmd, const void *val, int nd)
void telnet_rfc2217_ctl(tn_ctx_t * tcc, unsigned int val) void telnet_rfc2217_ctl(tn_ctx_t * tcc, unsigned int val)
{ {
unsigned char byte = val; unsigned char byte = val;
if (!tcc->mode_rfc2217) if (!tcc->mode_rfc2217)
return; return;
+1 -1
View File
@@ -843,7 +843,7 @@ ttynvt_ioctl(fuse_req_t req, int cmd, void *arg,
fuse_reply_ioctl(req, 0, &val, sizeof(int)); fuse_reply_ioctl(req, 0, &val, sizeof(int));
break; break;
case TCFLSH: case TCFLSH:
switch ((size_t) arg) switch ((size_t)arg)
{ {
default: default:
case TCIFLUSH: case TCIFLUSH: