[evolution-mapi] Correct a test in e_mapi_connection_resolve_username()
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-mapi] Correct a test in e_mapi_connection_resolve_username()
- Date: Mon, 1 Oct 2018 12:03:13 +0000 (UTC)
commit b86314e9cc821ad97ce532bd11bd66ed5d3ecb71
Author: Milan Crha <mcrha redhat com>
Date: Mon Oct 1 14:02:04 2018 +0200
Correct a test in e_mapi_connection_resolve_username()
It didn't cause any issue, it did return the error too, only with
a wrong variable name. This is to make the error message accurate.
src/libexchangemapi/e-mapi-connection.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/libexchangemapi/e-mapi-connection.c b/src/libexchangemapi/e-mapi-connection.c
index 099bf06..d9ddd82 100644
--- a/src/libexchangemapi/e-mapi-connection.c
+++ b/src/libexchangemapi/e-mapi-connection.c
@@ -6836,7 +6836,7 @@ e_mapi_connection_resolve_username (EMapiConnection *conn,
row = talloc_zero (mem_ctx, struct SRow);
if (!row) {
UNLOCK();
- e_return_val_mapi_error_if_fail (properties != NULL,
MAPI_E_INVALID_PARAMETER, FALSE);
+ e_return_val_mapi_error_if_fail (row != NULL, MAPI_E_INVALID_PARAMETER,
FALSE);
}
cast_PropertyRow_to_SRow (mem_ctx, &rows->aRow[qq], row);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]