summaryrefslogtreecommitdiff
path: root/src/backends/evolution/EvolutionContactSource.cpp
diff options
context:
space:
mode:
authorPatrick Ohly <patrick.ohly@intel.com>2013-04-08 19:17:36 +0200
committerPatrick Ohly <patrick.ohly@intel.com>2013-05-06 16:28:13 +0200
commit4f8615ee8b75329e7d3204e57e10b48294c6998c (patch)
tree19c3946529fbf89a0aceb21d7cbeae8b20a72b31 /src/backends/evolution/EvolutionContactSource.cpp
parentb5befe6cbf450346678a9a5d79ba885be9bd5dab (diff)
Logging: eliminate _instance from SE_LOG* macros
With the _instance parameter always being NULL thanks to the previous patch, it can be removed completely.
Diffstat (limited to 'src/backends/evolution/EvolutionContactSource.cpp')
-rw-r--r--src/backends/evolution/EvolutionContactSource.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/backends/evolution/EvolutionContactSource.cpp b/src/backends/evolution/EvolutionContactSource.cpp
index e01072d3..05821055 100644
--- a/src/backends/evolution/EvolutionContactSource.cpp
+++ b/src/backends/evolution/EvolutionContactSource.cpp
@@ -222,7 +222,7 @@ void EvolutionContactSource::open()
}
while (authmethod) {
const char *method = (const char *)authmethod->data;
- SE_LOG_DEBUG(NULL, getDisplayName(), "trying authentication method \"%s\", user %s, password %s",
+ SE_LOG_DEBUG(getDisplayName(), "trying authentication method \"%s\", user %s, password %s",
method,
!user.empty() ? "configured" : "not configured",
!passwd.empty() ? "configured" : "not configured");
@@ -231,10 +231,10 @@ void EvolutionContactSource::open()
passwd.c_str(),
method,
gerror)) {
- SE_LOG_DEBUG(NULL, getDisplayName(), "authentication succeeded");
+ SE_LOG_DEBUG(getDisplayName(), "authentication succeeded");
break;
} else {
- SE_LOG_ERROR(NULL, getDisplayName(), "authentication failed: %s", gerror->message);
+ SE_LOG_ERROR(getDisplayName(), "authentication failed: %s", gerror->message);
}
authmethod = authmethod->next;
}
@@ -361,7 +361,7 @@ void EvolutionContactSource::listAllItems(RevisionMap_t &revisions)
interesting_field_list.push_back(e_contact_field_name (E_CONTACT_REV));
e_book_client_view_set_fields_of_interest (viewPtr, interesting_field_list, gerror);
if (gerror) {
- SE_LOG_ERROR(NULL, getDisplayName(), "e_book_client_view_set_fields_of_interest: %s", (const char*)gerror);
+ SE_LOG_ERROR(getDisplayName(), "e_book_client_view_set_fields_of_interest: %s", (const char*)gerror);
gerror.clear();
}