Commit e6184cea authored by Kai Vehmanen's avatar Kai Vehmanen

Updated test code to use the modified NiceAddress API.

darcs-hash:20071010114409-77cd4-8a466e5c4a5456ee3a19ec09e489eac71b5b046b.gz
parent 380654b7
......@@ -51,7 +51,7 @@ main (void)
NiceAddress addr;
NiceUDPSocketFactory factory;
memset (&addr, 0, sizeof (addr));
nice_address_init (&addr);
g_type_init ();
nice_udp_fake_socket_factory_init (&factory);
......
......@@ -70,7 +70,7 @@ main (void)
NiceAddress addr;
NiceUDPSocketFactory factory;
memset (&addr, 0, sizeof (addr));
nice_address_init (&addr);
g_type_init ();
nice_udp_fake_socket_factory_init (&factory);
......
......@@ -78,7 +78,7 @@ main (void)
GSList *readable;
ssize_t w;
memset (&addr, 0, sizeof (addr));
nice_address_init (&addr);
g_type_init ();
/* set up agent */
......
......@@ -51,7 +51,7 @@ main (void)
NiceAddress addr;
NiceUDPSocketFactory factory;
memset (&addr, 0, sizeof (addr));
nice_address_init (&addr);
g_type_init ();
nice_udp_fake_socket_factory_init (&factory);
......
......@@ -53,8 +53,8 @@ main (void)
NiceUDPSocketFactory factory;
GSList *candidates;
memset (&addr_local, 0, sizeof (addr_local));
memset (&addr_remote, 0, sizeof (addr_remote));
nice_address_init (&addr_local);
nice_address_init (&addr_remote);
g_type_init ();
nice_udp_fake_socket_factory_init (&factory);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment