summaryrefslogtreecommitdiff
path: root/source3/client/client.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/client/client.c')
-rw-r--r--source3/client/client.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/source3/client/client.c b/source3/client/client.c
index 52f4b837a6..4333092b07 100644
--- a/source3/client/client.c
+++ b/source3/client/client.c
@@ -129,16 +129,10 @@ extern int Client;
#define USENMB
-extern int coding_system;
-static BOOL setup_term_code (char *code)
+static BOOL setup_term_code(char *code)
{
- int new;
- new = interpret_coding_system (code, UNKNOWN_CODE);
- if (new != UNKNOWN_CODE) {
- coding_system = new;
+ interpret_coding_system(code);
return True;
- }
- return False;
}
#define CNV_LANG(s) dos2unix_format(s,False)
#define CNV_INPUT(s) unix2dos_format(s,True)