commit | 6c75f43e50d754b4605498a8a68d2be4bc19ee37 | [log] [tgz] |
---|---|---|
author | Marek Kasik <mkasik@redhat.com> | Thu Jun 30 17:01:28 2016 -0400 |
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | Mon Jul 04 14:33:16 2016 +0300 |
tree | 80263f83437f49f33461d7dcee5ca2a38066b853 | |
parent | 16102009366f25a7ba3531c235d65461b5012372 [diff] |
obexd: Return dummy_data instead of int in phonebook-dummy There are two functions in phonebook-dummy that were returning 'int's instead of 'struct dummy_data' phonebook_create_cache phonebook_get_entry As a result, when an obex-client sends the GetSize command, the obexd on the server segfaults. Fix this by storing the id and returning the dummy_data struct. The GetSize test now passes correctly.