diff options
Diffstat (limited to 'plugins/phonebook-tracker.c')
-rw-r--r-- | plugins/phonebook-tracker.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/phonebook-tracker.c b/plugins/phonebook-tracker.c index cfb350e..5b73fe6 100644 --- a/plugins/phonebook-tracker.c +++ b/plugins/phonebook-tracker.c @@ -632,7 +632,7 @@ int phonebook_pull(const char *name, const struct apparam_field *params, query = name2query(name); if (query == NULL) - return -1; + return -ENOENT; data = g_new0(struct phonebook_data, 1); data->vcards = g_string_new(NULL); @@ -675,7 +675,7 @@ int phonebook_create_cache(const char *name, phonebook_entry_cb entry_cb, query = folder2query(name); if (query == NULL) - return -1; + return -ENOENT; cache = g_new0(struct cache_data, 1); cache->entry_cb = entry_cb; |