diff options
author | Vinicius Gomes <vinicius.gomes@openbossa.org> | 2008-03-20 14:39:35 +0000 |
---|---|---|
committer | Vinicius Gomes <vinicius.gomes@openbossa.org> | 2008-03-20 14:39:35 +0000 |
commit | 9e344aba0489ceddb0fc9a12e1f012fd0f6250f9 (patch) | |
tree | 900ae23ff54dc9d09c0c72485c7e8c89bc8251a5 /hcid/adapter.c | |
parent | 6a3f7979de00988fd66e586097efc5de577f0436 (diff) |
adapter: fixing the parameter list of the adapter_get_device function
Diffstat (limited to 'hcid/adapter.c')
-rw-r--r-- | hcid/adapter.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hcid/adapter.c b/hcid/adapter.c index 4b1bc0eb..eda5fc22 100644 --- a/hcid/adapter.c +++ b/hcid/adapter.c @@ -2130,7 +2130,7 @@ static void create_device_req_free(struct create_device_req *create) create = NULL; } -struct device *adapter_get_device(struct adapter *adapter, const char *src) +struct device *adapter_get_device(struct adapter *adapter, const char *dest) { struct device *device; GSList *l; @@ -2139,7 +2139,7 @@ struct device *adapter_get_device(struct adapter *adapter, const char *src) return NULL; l = g_slist_find_custom(adapter->devices, - src, (GCompareFunc) device_address_cmp); + dest, (GCompareFunc) device_address_cmp); if (!l) return NULL; |