summaryrefslogtreecommitdiff
path: root/unit
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2012-07-15 22:31:06 (GMT)
committerMarcel Holtmann <marcel@holtmann.org>2012-07-15 22:31:06 (GMT)
commit88431c2fdf1f1127e8d75d5ee28eb76ee322f583 (patch)
treebe2040d67e493ca85c8f7e5aaefa90dea1c4af06 /unit
parent467596078fe7bce62eea7e3f34f6eef52a104f2f (diff)
downloadconnman-88431c2fdf1f1127e8d75d5ee28eb76ee322f583.tar.gz
connman-88431c2fdf1f1127e8d75d5ee28eb76ee322f583.tar.xz
unit: Avoid shadowing session info variable
Diffstat (limited to 'unit')
-rw-r--r--unit/session-api.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/unit/session-api.c b/unit/session-api.c
index 14d48cf..5ed6744 100644
--- a/unit/session-api.c
+++ b/unit/session-api.c
@@ -324,10 +324,10 @@ static void append_allowed_bearers(DBusMessageIter *iter, void *user_data)
for (list = info->allowed_bearers;
list != NULL; list = list->next) {
- struct test_bearer_info *info = list->data;
+ struct test_bearer_info *bearer_info = list->data;
dbus_message_iter_append_basic(iter, DBUS_TYPE_STRING,
- &info->name);
+ &bearer_info->name);
}
}