summaryrefslogtreecommitdiff
path: root/product.c
diff options
context:
space:
mode:
authorꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2020-07-11 21:19:23 +0800
committerꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2020-07-11 21:19:23 +0800
commitf2cdda353b0da0ec19679ac8753fbe2d17471fd9 (patch)
tree8c5bcc98a1b41481c4d249043b0246d935f24e39 /product.c
parentc0fba9db9290fb30884b9c4f8d847212164e3b50 (diff)
Revert prodgroup to prod_group
Diffstat (limited to 'product.c')
-rw-r--r--product.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/product.c b/product.c
index 39a4e59..fcb16be 100644
--- a/product.c
+++ b/product.c
@@ -9,7 +9,7 @@ void icclient_product_init(struct icclient_product *product)
product->thumb = NULL;
product->image = NULL;
product->price = .0;
- product->prodgroup = NULL;
+ product->prod_group = NULL;
product->weight = .0;
product->author = NULL;
product->crosssell = NULL;
@@ -22,8 +22,8 @@ void icclient_product_free(struct icclient_product *product)
free(product->crosssell->skus[i]);
if (product->author)
free(product->author);
- if (product->prodgroup)
- free(product->prodgroup);
+ if (product->prod_group)
+ free(product->prod_group);
if (product->image)
free(product->image);
if (product->thumb)