[evolution-ews/wip/tests] tests: Fix hostname addition to the resolver
- From: Fabiano Fidêncio <ffidencio src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-ews/wip/tests] tests: Fix hostname addition to the resolver
- Date: Wed, 2 Oct 2013 12:38:13 +0000 (UTC)
commit f52d41855b095f1ad7993e42808777aff76af4f7
Author: Philip Withnall <philip tecnocode co uk>
Date: Tue Oct 1 21:53:36 2013 +0100
tests: Fix hostname addition to the resolver
Add the hostname, not the structure containing it.
src/tests/camel.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/tests/camel.c b/src/tests/camel.c
index ab26f73..db7b57c 100644
--- a/src/tests/camel.c
+++ b/src/tests/camel.c
@@ -17,10 +17,12 @@ server_notify_resolver_cb (GObject *object, GParamSpec *pspec, gpointer user_dat
{
UhmServer *local_server;
UhmResolver *resolver;
+ EwsTestData *etd;
const gchar *hostname;
- hostname = user_data;
local_server = UHM_SERVER (object);
+ etd = user_data;
+ hostname = etd->hostname;
/* Set up the expected domain names here. This should technically be split up between
* the different unit test suites, but that's too much effort. */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]