Index: trunk/Nebulous/nebclient/tests/tests.c
===================================================================
--- trunk/Nebulous/nebclient/tests/tests.c	(revision 4646)
+++ trunk/Nebulous/nebclient/tests/tests.c	(revision 4649)
@@ -61,11 +61,10 @@
 
     {
-        char        **locations = NULL;
-        int         n;
+        nebObjectInstances *locations = NULL;
 
-        n = nebFindInstances(server, key, NULL, &locations);
+        locations = nebFindInstances(server, key, NULL);
 
-        OK(n == 1, "find instances");
         OK(locations, "locations not NULL");
+        OK(locations->n == 1, "find instances");
     }
 
