[evolution-ews/wip/tests] tests: Fix variable shadowing
- From: Fabiano Fidêncio <ffidencio src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-ews/wip/tests] tests: Fix variable shadowing
- Date: Wed, 2 Oct 2013 12:38:03 +0000 (UTC)
commit 02650b846f94cf51016a1b316e461787dc069f48
Author: Philip Withnall <philip tecnocode co uk>
Date: Tue Oct 1 21:52:38 2013 +0100
tests: Fix variable shadowing
src/tests/camel.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/tests/camel.c b/src/tests/camel.c
index bac7d95..ab26f73 100644
--- a/src/tests/camel.c
+++ b/src/tests/camel.c
@@ -15,19 +15,19 @@ static const gchar *invalid_change_key = "AQAAABYAAAAi6qqMgDmPQrslhHoZnZkhAAB7es
static void
server_notify_resolver_cb (GObject *object, GParamSpec *pspec, gpointer user_data)
{
- UhmServer *server;
+ UhmServer *local_server;
UhmResolver *resolver;
const gchar *hostname;
- server = UHM_SERVER (object);
hostname = user_data;
+ local_server = UHM_SERVER (object);
/* 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. */
- resolver = uhm_server_get_resolver (server);
+ resolver = uhm_server_get_resolver (local_server);
if (resolver != NULL) {
- const gchar *ip_address = uhm_server_get_address (server);
+ const gchar *ip_address = uhm_server_get_address (local_server);
uhm_resolver_add_A (resolver, hostname, ip_address);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]