diff options
author | Robert James Kaes <rjkaes@users.sourceforge.net> | 2004-02-13 21:27:42 +0000 |
---|---|---|
committer | Robert James Kaes <rjkaes@users.sourceforge.net> | 2004-02-13 21:27:42 +0000 |
commit | aee5a6384985746420fda1c07d4231c4272ae715 (patch) | |
tree | ec784f7f8aa36ef58566b8fe31c6927e52398089 /src/acl.c | |
parent | bf22966f558ca95222c94706124a3a385f5aa0bf (diff) |
Removed unnecessary casts (mostly dealing with memory allocation.) I
should never have added them in the first place. They don't really
buy anything, and they can hide bugs.
Diffstat (limited to 'src/acl.c')
-rw-r--r-- | src/acl.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $Id: acl.c,v 1.17 2003-07-31 23:38:28 rjkaes Exp $ +/* $Id: acl.c,v 1.18 2004-02-13 21:27:42 rjkaes Exp $ * * This system handles Access Control for use of this daemon. A list of * domains, or IP addresses (including IP blocks) are stored in a list @@ -87,7 +87,7 @@ insert_acl(char *location, acl_access_t access_type) rev_acl_ptr = &acl_ptr->next; acl_ptr = acl_ptr->next; } - new_acl_ptr = (struct acl_s*)safemalloc(sizeof(struct acl_s)); + new_acl_ptr = safemalloc(sizeof(struct acl_s)); if (!new_acl_ptr) { return -1; } |