diff options
-rw-r--r-- | interchange/member.h | 2 | ||||
-rw-r--r-- | member.c | 2 | ||||
-rw-r--r-- | ord.c | 4 |
3 files changed, 3 insertions, 5 deletions
diff --git a/interchange/member.h b/interchange/member.h index b44b1f5..569055e 100644 --- a/interchange/member.h +++ b/interchange/member.h @@ -47,7 +47,7 @@ struct interchange_member { char *phone_night; char *address_book; char *accounts; - struct interchange_member_preferences *preferences; + struct interchange_member_preferences preferences; char *carts; char *owner; char *file_acl; @@ -129,8 +129,6 @@ void interchange_member_logout(struct interchange_member *member) free(member->address_book); if (member->accounts) free(member->accounts); - if (member->preferences) - free(member->preferences); if (member->carts) free(member->carts); if (member->owner) @@ -76,8 +76,8 @@ void interchange_ord_checkout(const struct interchange_ord_order *order, const s { "zip", member->zip }, { "email", member->email }, { "phone_day", member->phone_day }, - { "mv_same_billing", member->preferences->mv_same_billing? "1" : "0" }, - { "email_copy", member->preferences->email_copy? "1" : "0" } + { "mv_same_billing", member->preferences.mv_same_billing? "1" : "0" }, + { "email_copy", member->preferences.email_copy? "1" : "0" } }}, "%s", "ord/checkout"); } |