/mandos/release

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

« back to all changes in this revision

Viewing changes to plugins.d/splashy.c

  • Committer: Björn Påhlsson
  • Date: 2009-01-10 21:45:37 UTC
  • mto: (237.7.1 mandos) (24.1.154 mandos)
  • mto: This revision was merged to the branch mainline in revision 245.
  • Revision ID: belorn@braxen-20090110214537-1msmz238jruv6353
mandos-ctl: Added support for all client calls

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*  -*- coding: utf-8 -*- */
2
2
/*
3
 
 * Splashy - Read a password from splashy and output it
 
3
 * Passprompt - Read a password from splashy and output it
4
4
 * 
5
5
 * Copyright © 2008,2009 Teddy Hogeborn
6
6
 * Copyright © 2008,2009 Björn Påhlsson
120
120
        struct stat exe_stat;
121
121
        ret = lstat(exe_link, &exe_stat);
122
122
        if(ret == -1){
123
 
          if(errno == ENOENT){
124
 
            free(exe_link);
125
 
            continue;
126
 
          }
127
123
          perror("lstat");
128
124
          free(exe_link);
129
125
          free(prompt);