diff options
| author | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2020-06-19 15:09:08 +0800 | 
|---|---|---|
| committer | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2020-06-19 15:09:08 +0800 | 
| commit | b4590ddec4936fd542691ac0d35628afdb9331e1 (patch) | |
| tree | 671b696be3bbe19c432d82a4bd6f21a6723c3763 | |
| parent | 2ed1fce21c24a54bf09da8b39efd7d889a0b74e3 (diff) | |
Add thumb member to product
| -rw-r--r-- | client.c | 2 | ||||
| -rw-r--r-- | icclient/product.h | 1 | 
2 files changed, 3 insertions, 0 deletions
| @@ -161,6 +161,8 @@ void icclient_freeproduct(icclient_product *product)  		free(product->author);  	if (product->image)  		free(product->image); +	if (product->thumb) +		free(product->thumb);  	if (product->comment)  		free(product->comment);  	if (product->description) diff --git a/icclient/product.h b/icclient/product.h index a324eef..51efa46 100644 --- a/icclient/product.h +++ b/icclient/product.h @@ -10,6 +10,7 @@ struct icclient_product {  	char *sku;  	char *description;  	char *comment; +	char *thumb;  	char *image;  	double price;  	char *prod_group; |