From: Daniel KouĊ™il Date: Mon, 21 Mar 2005 09:23:10 +0000 (+0000) Subject: Retain paramaters set by the caller as much as possible X-Git-Tag: glite-security-proxyrenewal_R_1_0_10~12 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=cdefc55f785ec2ef6c6101cabebf29c6c1c1ab84;p=jra1mw.git Retain paramaters set by the caller as much as possible --- diff --git a/org.glite.security.proxyrenewal/src/commands.c b/org.glite.security.proxyrenewal/src/commands.c index 288c994..074d734 100644 --- a/org.glite.security.proxyrenewal/src/commands.c +++ b/org.glite.security.proxyrenewal/src/commands.c @@ -564,11 +564,8 @@ get_record_ext(FILE *fd, proxy_record *record, int *last_used_suffix) if (tmp_record.jobids.len == 0) { /* no jobs registered for this record, so use it initialized with the * parameters (currently myproxy location) provided by user */ - char *server = record->myproxy_server; - - memset(record, 0, sizeof(*record)); record->suffix = tmp_record.suffix; - record->myproxy_server = server; + record->next_renewal = record->end_time = 0; free_record(&tmp_record); return 0; }