/mandos/trunk

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/trunk

« back to all changes in this revision

Viewing changes to plugins.d/password-prompt.c

  • Committer: Teddy Hogeborn
  • Date: 2008-08-09 04:56:00 UTC
  • mfrom: (24.1.27 mandos)
  • Revision ID: teddy@fukt.bsnet.se-20080809045600-m7jx3tj4wwunaffa
Merge.

Show diffs side-by-side

added added

removed removed

Lines of Context:
52
52
 
53
53
volatile bool quit_now = false;
54
54
bool debug = false;
55
 
const char *argp_program_version = "password-prompt 1.0";
 
55
const char *argp_program_version = "passprompt 0.9";
56
56
const char *argp_program_bug_address = "<mandos@fukt.bsnet.se>";
57
57
 
58
58
static void termination_handler(__attribute__((unused))int signum){
105
105
                         .doc = "Mandos Passprompt -- Provides a passprompt" };
106
106
    ret = argp_parse (&argp, argc, argv, 0, 0, NULL);
107
107
    if (ret == ARGP_ERR_UNKNOWN){
108
 
      fprintf(stderr, "Unknown error while parsing arguments\n");
 
108
      perror("argp_parse");
109
109
      return EXIT_FAILURE;
110
110
    }
111
111
  }