Update of /cvsroot/srvx/services/src
In directory usw-pr-cvs1:/tmp/cvs-serv14784/src
Modified Files:
opserv.c
Log Message:
fix writeout of "trusted" section of OpServ database
Index: opserv.c
===================================================================
RCS file: /cvsroot/srvx/services/src/opserv.c,v
retrieving revision 1.273
retrieving revision 1.274
diff -C2 -r1.273 -r1.274
*** opserv.c 11 Sep 2002 01:50:07 -0000 1.273
--- opserv.c 13 Sep 2002 19:50:28 -0000 1.274
***************
*** 2639,2646 ****
saxdb_start_record(ctx, iter_key(it), 0);
if (th->limit) saxdb_write_int(ctx, KEY_LIMIT, th->limit);
! if (th->expires) saxdb_write_int(ctx, KEY_LIMIT, th->expires);
! if (th->issued) saxdb_write_int(ctx, KEY_LIMIT, th->issued);
! if (th->issuer) saxdb_write_string(ctx, KEY_LIMIT, th->issuer);
! if (th->reason) saxdb_write_string(ctx, KEY_LIMIT, th->reason);
saxdb_end_record(ctx);
}
--- 2639,2646 ----
saxdb_start_record(ctx, iter_key(it), 0);
if (th->limit) saxdb_write_int(ctx, KEY_LIMIT, th->limit);
! if (th->expires) saxdb_write_int(ctx, KEY_EXPIRES, th->expires);
! if (th->issued) saxdb_write_int(ctx, KEY_ISSUED, th->issued);
! if (th->issuer) saxdb_write_string(ctx, KEY_ISSUER, th->issuer);
! if (th->reason) saxdb_write_string(ctx, KEY_REASON, th->reason);
saxdb_end_record(ctx);
}
|