diff options
author | Madhu Yaduguri <madhuyaduguri@UIE08563-2.local> | 2017-04-17 10:39:58 -0700 |
---|---|---|
committer | Madhu Yaduguri <madhuyaduguri@UIE08563-2.local> | 2017-04-17 10:39:58 -0700 |
commit | 194c7816ade1139680b3be0cfd3755fca915aae8 (patch) | |
tree | 2c57b68f18acd26ac9a4df785ff8e815da936283 | |
parent | bf8f51e5b488826547abbcb1237db3138d7e2b8b (diff) | |
download | sdl_core-194c7816ade1139680b3be0cfd3755fca915aae8.tar.gz |
Getting files names by enumarating filsystem instead of from Cache.
-rw-r--r-- | src/components/application_manager/src/commands/mobile/list_files_request.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/application_manager/src/commands/mobile/list_files_request.cc b/src/components/application_manager/src/commands/mobile/list_files_request.cc index c872ce3148..0ac7c46da3 100644 --- a/src/components/application_manager/src/commands/mobile/list_files_request.cc +++ b/src/components/application_manager/src/commands/mobile/list_files_request.cc @@ -87,11 +87,11 @@ void ListFilesRequest::Run() { for (; it != persistent_files.end(); ++it) { if (i < application_manager_.get_settings().list_files_response_size()) { LOG4CXX_DEBUG(logger_, - "File " + filename + " added to ListFiles response"); + "File " + *it + " added to ListFiles response"); (*message_)[strings::msg_params][strings::filenames][i++] = *it; } else { LOG4CXX_DEBUG(logger_, - "File " + filename + " not added to ListFiles response"); + "File " + *it + " not added to ListFiles response"); } } (*message_)[strings::params][strings::message_type] = |