/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/plymouth.c

  • Committer: teddy at bsnet
  • Date: 2011-12-24 19:43:26 UTC
  • mto: (237.7.79 trunk)
  • mto: This revision was merged to the branch mainline in revision 290.
  • Revision ID: teddy@fukt.bsnet.se-20111224194326-egfeyd0140t03xmf
* plugins.d/mandos-client.c (add_server): Return bool; all callers
                                          changed.
  (resolve_callback): Check return value from add_server().
  (main/parse_opt): Bug fix; Remove extra message on --version.

Show diffs side-by-side

added added

removed removed

Lines of Context:
75
75
}
76
76
 
77
77
/* Function to use when printing errors */
78
 
__attribute__((format (gnu_printf, 3, 4)))
79
78
void error_plus(int status, int errnum, const char *formatstring,
80
79
                ...){
81
80
  va_list ap;
154
153
  return true;
155
154
}
156
155
 
157
 
__attribute__((nonnull (2, 3)))
158
156
bool exec_and_wait(pid_t *pid_return, const char *path,
159
157
                   const char **argv, bool interruptable,
160
158
                   bool daemonize){
214
212
  return false;
215
213
}
216
214
 
217
 
__attribute__((nonnull))
218
215
int is_plymouth(const struct dirent *proc_entry){
219
216
  int ret;
220
217
  {