diff options
author | louie <lshprung@yahoo.com> | 2020-07-13 15:09:01 -0700 |
---|---|---|
committer | louie <lshprung@yahoo.com> | 2020-07-13 15:09:01 -0700 |
commit | 40a6bba7765b661303ed0e1e6f6f7319e344ce08 (patch) | |
tree | d5e99caeb36c6bb9300a43efd1a11201534499ea /group.c | |
parent | 2d08a7dbceac846f54cba6b0b75b0de1542df707 (diff) |
Fixed entry deletion, added addR option
Diffstat (limited to 'group.c')
-rw-r--r-- | group.c | 7 |
1 files changed, 1 insertions, 6 deletions
@@ -113,14 +113,9 @@ void group_add(char *gname, ENTRY *addme){ } void group_rm(GROUP *g){ - ENTRY **e = get_entries(g->head, g->entry_count); - int i; - for(i = 0; i < g->entry_count; i++){ - entry_rm(e[i]); - } + clear_entries(g->head); - free(e); free(g); group_count--; return; |