From 73fb1c592fc0cdecee33b4c69566401b9eb16b25 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Mon, 11 Apr 2005 18:24:09 +0000 Subject: * g10.c (main, add_notation_data, add_policy_url) (add_keyserver_url): Use isascii() to protect the isfoo macros and to replace direct tests. Possible problems noted by Christian Biere. * keyserver.c (parse_keyserver_uri): Ditto. * g10.c (main): Declare --pipemode deprecated. * misc.c (deprecated_command): New. --- g10/misc.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'g10/misc.c') diff --git a/g10/misc.c b/g10/misc.c index a47839248..6e3dbce0b 100644 --- a/g10/misc.c +++ b/g10/misc.c @@ -686,6 +686,15 @@ deprecated_warning(const char *configname,unsigned int configlineno, log_info(_("please use \"%s%s\" instead\n"),repl1,repl2); } + +void +deprecated_command (const char *name) +{ + log_info(_("WARNING: \"%s\" is a deprecated command - do not use it\n"), + name); +} + + const char * compress_algo_to_string(int algo) { -- cgit