comparison src/permissions.c @ 15:f671821d8222

code beautifying; 0 -> \0 if appropriate
author meillo@marmaro.de
date Thu, 06 Nov 2008 09:18:38 +0100
parents 26e34ae9a3e3
children ffeff2c33799
comparison
equal deleted inserted replaced
14:a8f3424347dc 15:f671821d8222
14 You should have received a copy of the GNU General Public License 14 You should have received a copy of the GNU General Public License
15 along with this program; if not, write to the Free Software 15 along with this program; if not, write to the Free Software
16 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 16 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
17 */ 17 */
18 18
19 #include "masqmail.h"
20 #include <pwd.h> 19 #include <pwd.h>
21 #include <grp.h> 20 #include <grp.h>
21
22 #include "masqmail.h"
22 23
23 /* is there really no function in libc for this? */ 24 /* is there really no function in libc for this? */
24 gboolean 25 gboolean
25 is_ingroup(uid_t uid, gid_t gid) 26 is_ingroup(uid_t uid, gid_t gid)
26 { 27 {