Fix a bug in the number of arguments.
authorFrantišek Dvořák <valtri@civ.zcu.cz>
Thu, 16 Mar 2006 16:48:27 +0000 (16:48 +0000)
committerFrantišek Dvořák <valtri@civ.zcu.cz>
Thu, 16 Mar 2006 16:48:27 +0000 (16:48 +0000)
org.glite.jp.index/examples/jpis-client.c

index 6780b9b..3f07d94 100644 (file)
@@ -318,7 +318,7 @@ static void queryresult_print(FILE *out, const struct  _jpelem__QueryJobsRespons
 
                        for (k = 0; k <= NUMBER_ORIG; k++)
                                if (origins[k].orig == attr->origin) break;
-                       fprintf(out, "\t\t\torigin = %s", origins[k].name, attr->originDetail);
+                       fprintf(out, "\t\t\torigin = %s", origins[k].name);
                        if (attr->originDetail) fprintf(out, ", %s\n", attr->originDetail);
                        else fprintf(out, " (no detail)\n");
                        if (attr->timestamp != (time_t)0)