Fixed a little bug in JP IS client in generating example XML.
authorFrantišek Dvořák <valtri@civ.zcu.cz>
Tue, 3 Apr 2007 13:10:03 +0000 (13:10 +0000)
committerFrantišek Dvořák <valtri@civ.zcu.cz>
Tue, 3 Apr 2007 13:10:03 +0000 (13:10 +0000)
org.glite.jp.index/examples/jpis-client.c

index e7cbff0..6000d0b 100644 (file)
@@ -144,7 +144,7 @@ static void query_example_fill(struct soap *soap, struct _jpisclient__QueryJobs
 
        // AND
        // owner
-       cond = GLITE_SECURITY_GSOAP_LIST_GET(in->conditions, 0);
+       cond = GLITE_SECURITY_GSOAP_LIST_GET(in->conditions, 1);
        memset(cond, 0, sizeof(*cond));
        cond->attr = soap_strdup(soap, "http://egee.cesnet.cz/en/Schema/LB/Attributes:user");
        cond->origin = NULL;