Backout erroneous part of previous change (additional space at the end
authorZdeněk Salvet <salvet@ics.muni.cz>
Thu, 2 Aug 2007 15:29:48 +0000 (15:29 +0000)
committerZdeněk Salvet <salvet@ics.muni.cz>
Thu, 2 Aug 2007 15:29:48 +0000 (15:29 +0000)
of encoded string).

org.glite.lb.server/src/jobstat_supp.c

index 68d57b6..0838a74 100644 (file)
@@ -90,7 +90,7 @@ static char *enc_int_array(char *old, int *item, int itemsNo)
 
        strpom=(char*)calloc(strlen(old)+1,sizeof(char));
 
-       for (index=0; index <= itemsNo; index++) sprintf(strpom+strlen(strpom),"%d%s", item[index],index==itemsNo?" ":";");
+       for (index=0; index <= itemsNo; index++) sprintf(strpom+strlen(strpom),"%d%s", item[index],index==itemsNo?"":";");
 
         asprintf(&out,"%s%s ", old, strpom);
        free(strpom);