[grilo/mocking] net: Call init_mock_requester before init_requester



commit 8a00a1632917f5053d78e35578acb97653fa5462
Author: Mathias Hasselmann <mathias openismus com>
Date:   Mon Oct 22 18:42:05 2012 +0200

    net: Call init_mock_requester before init_requester
    
    Captured must check if mocking got enabled.

 libs/net/grl-net-wc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libs/net/grl-net-wc.c b/libs/net/grl-net-wc.c
index 9b9ae48..95f0640 100644
--- a/libs/net/grl-net-wc.c
+++ b/libs/net/grl-net-wc.c
@@ -191,8 +191,8 @@ grl_net_wc_init (GrlNetWc *wc)
   wc->priv->pending = g_queue_new ();
 
   set_thread_context (wc);
-  init_requester (wc);
   init_mock_requester (wc);
+  init_requester (wc);
 }
 
 static void



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]