/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/password-request.c

  • Committer: Björn Påhlsson
  • Date: 2008-08-12 16:29:05 UTC
  • mto: (237.7.1 mandos) (24.1.154 mandos)
  • mto: This revision was merged to the branch mainline in revision 69.
  • Revision ID: belorn@braxen-20080812162905-6zm7vdvj81wkumwb
mandos-client
        Better error handling for failing to start plugins
        Handle fork errors
password-request
        correct exit routine

Show diffs side-by-side

added added

removed removed

Lines of Context:
682
682
      }
683
683
      int ret = start_mandos_communication(ip, port, interface, mc);
684
684
      if (ret == 0){
685
 
        exit(EXIT_SUCCESS);
 
685
        avahi_simple_poll_quit(mc->simple_poll);
686
686
      }
687
687
    }
688
688
  }
850
850
          break;
851
851
        case ARGP_KEY_ARG:
852
852
          argp_usage (state);
 
853
        case ARGP_KEY_END:
853
854
          break;
854
 
          case ARGP_KEY_END:
855
 
            break;
856
855
        default:
857
856
          return ARGP_ERR_UNKNOWN;
858
857
        }