Mercurial > ~mikael > mcabber > hg
comparison mcabber/mcabber/main.c @ 1916:a87ac75872fe
Display a warning when the option ssl_verify is still used
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Tue, 09 Nov 2010 11:00:41 +0100 |
parents | 84bb3e893586 |
children | 4ba68ad737bc |
comparison
equal
deleted
inserted
replaced
1915:e09763e16e49 | 1916:a87ac75872fe |
---|---|
384 if ((p = settings_opt_get("server")) != NULL) | 384 if ((p = settings_opt_get("server")) != NULL) |
385 scr_log_print(LPRINT_NORMAL, "Server: %s", p); | 385 scr_log_print(LPRINT_NORMAL, "Server: %s", p); |
386 if ((p = settings_opt_get("jid")) != NULL) { | 386 if ((p = settings_opt_get("jid")) != NULL) { |
387 scr_log_print(LPRINT_NORMAL, "User JID: %s", p); | 387 scr_log_print(LPRINT_NORMAL, "User JID: %s", p); |
388 } else if (settings_opt_get("username")) { | 388 } else if (settings_opt_get("username")) { |
389 /* TODO: remove after 0.10.1/2 */ | 389 /* TODO: remove after 0.10.2/3 */ |
390 scr_log_print(LPRINT_NORMAL, "** ERROR: The JID is missing, but " | 390 scr_log_print(LPRINT_NORMAL, "** ERROR: The JID is missing, but " |
391 "the variable 'username' is defined in your " | 391 "the variable 'username' is defined in your " |
392 "configuration file.\n" | 392 "configuration file.\n" |
393 "** Please update your configuration file and set " | 393 "** Please update your configuration file and set " |
394 "the 'jid' variable."); | 394 "the 'jid' variable."); |
395 } | |
396 | |
397 if (settings_opt_get("ssl_verify")) { // Deprecated option | |
398 /* TODO: remove after 0.10.2/3 */ | |
399 scr_log_print(LPRINT_NORMAL, | |
400 "** ERROR: The option ssl_verify is deprecated.\n" | |
401 "** Please update your configuration file and use " | |
402 "the 'ssl_ignore_checks' variable."); | |
395 } | 403 } |
396 } | 404 } |
397 | 405 |
398 /* If no password is stored, we ask for it before entering | 406 /* If no password is stored, we ask for it before entering |
399 ncurses mode -- unless the username is unknown. */ | 407 ncurses mode -- unless the username is unknown. */ |