From 2ce06b010dd30e90cacb8c2ab5431a62e4cc5665 Mon Sep 17 00:00:00 2001 From: Lukasz Wojciechowski Date: Tue, 15 Jul 2014 14:20:44 +0200 Subject: [PATCH] Remove const specifiers in cynara_admin_policy structure With fileds defined as const, user of this structure would probably have some problems with freeing memory. Change-Id: I159ebc2ea772c76be70e5e58310f0ae1e8728c8f --- src/include/cynara-admin.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/include/cynara-admin.h b/src/include/cynara-admin.h index 39a612b..1fef8eb 100644 --- a/src/include/cynara-admin.h +++ b/src/include/cynara-admin.h @@ -62,14 +62,14 @@ extern "C" { //todo comments struct cynara_admin_policy { - const char *bucket; + char *bucket; - const char *client; - const char *user; - const char *privilege; + char *client; + char *user; + char *privilege; int result; - const char *result_extra; + char *result_extra; }; /** -- 2.7.4