diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2006-07-26 13:57:50 +0000 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2006-07-26 13:57:50 +0000 |
commit | f901d243dff9fa64668f03a3ed0eb752b317fef0 (patch) | |
tree | 4b8d136b7f5f833e7680b27828137ad746871b8d /hcid/dbus-sdp.c | |
parent | 17152022a5844275a6f3e3e71ef5b32dc2c0ec04 (diff) |
Make use of create_name()
Diffstat (limited to 'hcid/dbus-sdp.c')
-rw-r--r-- | hcid/dbus-sdp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hcid/dbus-sdp.c b/hcid/dbus-sdp.c index 72ae36c2..2cfd687c 100644 --- a/hcid/dbus-sdp.c +++ b/hcid/dbus-sdp.c @@ -852,7 +852,7 @@ static DBusHandlerResult get_identifiers(DBusConnection *conn, return error_service_search_in_progress(conn, msg); /* check if it is a unknown address */ - snprintf(filename, PATH_MAX, "%s/%s/lastseen", STORAGEDIR, dbus_data->address); + create_name(filename, PATH_MAX, STORAGEDIR, dbus_data->address, "lastseen"); str = textfile_get(filename, dst); if (!str) |