Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(846)

Unified Diff: files/src/profile.c

Issue 1600025: Fix bug causing some properties on entry to be saved with quotes in the name. (Closed)
Patch Set: Created 10 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: files/src/profile.c
diff --git a/files/src/profile.c b/files/src/profile.c
index b59054eb90028ac35a7c9b4652cbc2b07bd6d7e4..38d3263df141c40113c52272e743d60eb12003dd 100644
--- a/files/src/profile.c
+++ b/files/src/profile.c
@@ -401,7 +401,7 @@ static DBusMessage *get_entry(DBusConnection *conn,
DBusMessage *msg, void *data)
{
#define ADD_STR(name, val) do { \
- connman_dbus_dict_append_variant(&dict, #name, DBUS_TYPE_STRING, val); \
+ connman_dbus_dict_append_variant(&dict, name, DBUS_TYPE_STRING, val); \
} while (0)
#define VAL_STR(name) do { \
val = g_key_file_get_string(keyfile, ident, name, NULL); \
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698