/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: 2013-12-15 15:38:51 UTC
  • Revision ID: teddy@recompile.se-20131215153851-5bbt3r29ghrib9gn
Depend on avahi-daemon with Provides: "avahi-daemon"m or systemd-sysv.

* debian/control (mandos/Depends): Add "avahi-daemon (>= 0.6.31-3) |
                                   systemd-sysv".

Reported-by: Laurent Bigonville <bigon@debian.org>
Suggested-by: Laurent Bigonville <bigon@debian.org>

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
/*
3
3
 * Password-prompt - Read a password from the terminal and print it
4
4
 * 
5
 
 * Copyright © 2008-2012 Teddy Hogeborn
6
 
 * Copyright © 2008-2012 Björn Påhlsson
 
5
 * Copyright © 2008-2013 Teddy Hogeborn
 
6
 * Copyright © 2008-2013 Björn Påhlsson
7
7
 * 
8
8
 * This program is free software: you can redistribute it and/or
9
9
 * modify it under the terms of the GNU General Public License as
79
79
  
80
80
  TEMP_FAILURE_RETRY(fprintf(stream, "Mandos plugin %s: ",
81
81
                             program_invocation_short_name));
82
 
  return TEMP_FAILURE_RETRY(vfprintf(stream, format, ap));
 
82
  return (int)TEMP_FAILURE_RETRY(vfprintf(stream, format, ap));
83
83
}
84
84
 
85
85
/* Function to use when printing errors */