"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "mkpasswd.c" between
whois_5.5.6.tar.xz and whois_5.5.8.tar.xz

About: whois is an improved whois client (searching in a RFC-3912 database)

mkpasswd.c  (whois_5.5.6.tar.xz):mkpasswd.c  (whois_5.5.8.tar.xz)
/* /*
* Copyright (C) 2001-2019 Marco d'Itri <md@linux.it>. * Copyright (C) 2001-2021 Marco d'Itri <md@linux.it>.
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or * the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version. * (at your option) any later version.
* *
* This program is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details. * GNU General Public License for more details.
skipping to change at line 525 skipping to change at line 525
"If no SALT is specified, a random one is generated.\n" "If no SALT is specified, a random one is generated.\n"
"If TYPE is 'help', available methods are printed.\n" "If TYPE is 'help', available methods are printed.\n"
"\n" "\n"
"Report bugs to %s.\n"), "<md+whois@linux.it>"); "Report bugs to %s.\n"), "<md+whois@linux.it>");
exit(error); exit(error);
} }
void display_version(void) void display_version(void)
{ {
printf("mkpasswd %s\n\n", VERSION); printf("mkpasswd %s\n\n", VERSION);
puts("Copyright (C) 2001-2019 Marco d'Itri\n" puts("Copyright (C) 2001-2021 Marco d'Itri\n"
"This is free software; see the source for copying conditions. There is NO\n" "This is free software; see the source for copying conditions. There is NO\n"
"warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."); "warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.");
} }
void display_methods(void) void display_methods(void)
{ {
unsigned int i; unsigned int i;
printf(_("Available methods:\n")); printf(_("Available methods:\n"));
for (i = 0; methods[i].method != NULL; i++) for (i = 0; methods[i].method != NULL; i++)
 End of changes. 2 change blocks. 
2 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)