aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorDavid M. Syzdek <david@syzdek.net>2022-09-15 10:52:00 -0800
committerDavid M. Syzdek <david@syzdek.net>2022-09-15 10:52:00 -0800
commitf36447006295eb40b30da25d176e8fbeb370b433 (patch)
tree64e3af4db9c626ab002da0b39b4a2ff0ff48b41c
parent407d90105f2c8c702e7f39bcb583899afe437a6b (diff)
downloadbindletools-f36447006295eb40b30da25d176e8fbeb370b433.tar.gz
bindletools-f36447006295eb40b30da25d176e8fbeb370b433.tar.bz2
bindletools-f36447006295eb40b30da25d176e8fbeb370b433.tar.xz
bindletools-f36447006295eb40b30da25d176e8fbeb370b433.zip
bindletools: cleaning up bindle_encodings_src_fileno()
-rw-r--r--src/widget-encodings.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/widget-encodings.c b/src/widget-encodings.c
index b529101..2af715d 100644
--- a/src/widget-encodings.c
+++ b/src/widget-encodings.c
@@ -533,15 +533,11 @@ bindle_encodings_src_fileno(
533 return(0); 533 return(0);
534 buff[state->buff_len] = '\0'; 534 buff[state->buff_len] = '\0';
535 if ((cnf->widget_flags & BINDLE_FLG_DECODE) == BINDLE_FLG_DECODE) 535 if ((cnf->widget_flags & BINDLE_FLG_DECODE) == BINDLE_FLG_DECODE)
536 {
537 if (bindle_encodings_action_decode(cnf, method) == -1) 536 if (bindle_encodings_action_decode(cnf, method) == -1)
538 return(1); 537 return(1);
539 } 538 if ((cnf->widget_flags & BINDLE_FLG_DECODE) != BINDLE_FLG_DECODE)
540 else
541 {
542 if (bindle_encodings_action_encode(cnf, method) == -1) 539 if (bindle_encodings_action_encode(cnf, method) == -1)
543 return(1); 540 return(1);
544 };
545 if (len == 0) 541 if (len == 0)
546 return(0); 542 return(0);
547 }; 543 };