[gnome-keyring/dbus-api] [secrets-store] Use const pointers when parsing fields attribute.
- From: Stefan Walter <stefw src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnome-keyring/dbus-api] [secrets-store] Use const pointers when parsing fields attribute.
- Date: Sun, 23 Aug 2009 03:01:43 +0000 (UTC)
commit bb1778cc17540d1fffc7768b4e49007557703c89
Author: Stef Walter <stef memberwebs com>
Date: Sun Aug 23 03:01:02 2009 +0000
[secrets-store] Use const pointers when parsing fields attribute.
pkcs11/secret-store/gck-secret-fields.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/pkcs11/secret-store/gck-secret-fields.c b/pkcs11/secret-store/gck-secret-fields.c
index b90f101..87d3a69 100644
--- a/pkcs11/secret-store/gck-secret-fields.c
+++ b/pkcs11/secret-store/gck-secret-fields.c
@@ -148,12 +148,12 @@ CK_RV
gck_secret_fields_parse (CK_ATTRIBUTE_PTR attr, GHashTable **fields)
{
GHashTable *result;
- gchar *name;
+ const gchar *name;
gsize n_name;
- gchar *value;
+ const gchar *value;
gsize n_value;
- gchar *ptr;
- gchar *last;
+ const gchar *ptr;
+ const gchar *last;
g_assert (attr);
g_assert (fields);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]