diff options
author | Jeremy Allison <jra@samba.org> | 2009-06-03 09:44:49 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2009-06-03 09:44:49 -0700 |
commit | ba4d51c521727e13639ba7fc09154da099eef1da (patch) | |
tree | 6ae77c56672ae412c661dfb7f3114257b674d622 /source3/client | |
parent | 7cdad30b9640cc876e8ca59cd67455039107a5df (diff) | |
download | samba-ba4d51c521727e13639ba7fc09154da099eef1da.tar.gz |
Fix bug #2356 - smbclient -t <term code> no longer works.
Removed code and docs.
Jeremy.
Diffstat (limited to 'source3/client')
-rw-r--r-- | source3/client/client.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/source3/client/client.c b/source3/client/client.c index 08526527257..36a70d012fe 100644 --- a/source3/client/client.c +++ b/source3/client/client.c @@ -4738,7 +4738,6 @@ static int do_message_op(struct user_auth_info *a_info) int opt; char *query_host = NULL; bool message = false; - char *term_code = NULL; static const char *new_name_resolve_order = NULL; poptContext pc; char *p; @@ -4754,7 +4753,6 @@ static int do_message_op(struct user_auth_info *a_info) { "ip-address", 'I', POPT_ARG_STRING, NULL, 'I', "Use this IP to connect to", "IP" }, { "stderr", 'E', POPT_ARG_NONE, NULL, 'E', "Write messages to stderr instead of stdout" }, { "list", 'L', POPT_ARG_STRING, NULL, 'L', "Get a list of shares available on a host", "HOST" }, - { "terminal", 't', POPT_ARG_STRING, NULL, 't', "Terminal I/O code {sjis|euc|jis7|jis8|junet|hex}", "CODE" }, { "max-protocol", 'm', POPT_ARG_STRING, NULL, 'm', "Set the max protocol level", "LEVEL" }, { "tar", 'T', POPT_ARG_STRING, NULL, 'T', "Command line tar", "<c|x>IXFqgbNan" }, { "directory", 'D', POPT_ARG_STRING, NULL, 'D', "Start from directory", "DIR" }, @@ -4774,15 +4772,6 @@ static int do_message_op(struct user_auth_info *a_info) exit(ENOMEM); } -#ifdef KANJI - term_code = talloc_strdup(frame,KANJI); -#else /* KANJI */ - term_code = talloc_strdup(frame,""); -#endif /* KANJI */ - if (!term_code) { - exit(ENOMEM); - } - /* initialize the workgroup name so we can determine whether or not it was set by a command line option */ @@ -4876,12 +4865,6 @@ static int do_message_op(struct user_auth_info *a_info) exit(ENOMEM); } break; - case 't': - term_code = talloc_strdup(frame,poptGetOptArg(pc)); - if (!term_code) { - exit(ENOMEM); - } - break; case 'm': max_protocol = interpret_protocol(poptGetOptArg(pc), max_protocol); break; |