/* 40-51 EV.CODE=%03d: */
/* 53-56 SRC=%c */
char condor[EDG_WLL_SEQ_CONDOR_SIZE];
- char cream[EDG_WLL_SEQ_SIZE];
} edg_wll_SeqCode;
/* non-gsi one-element analogy of connPool for L&B Proxy server */
ret = strdup(ctx->p_seqcode.condor);
break;
case EDG_WLL_SEQ_CREAM:
- if (ctx->p_seqcode.cream && ctx->p_seqcode.cream[0])
- ret = strdup(ctx->p_seqcode.cream);
- else
- ret = strdup("no_seqcodes_with_CREAM");
+ ret = strdup("no_seqcodes_with_CREAM");
break;
default:
edg_wll_SetError(ctx,EINVAL,"edg_wll_GetSequenceCode(): unknown sequence code type");
strncpy(ctx->p_seqcode.condor, seqcode_str, sizeof(ctx->p_seqcode.condor));
break;
case EDG_WLL_SEQ_CREAM:
- if (!seqcode_str)
- memset(&ctx->p_seqcode.cream, 0, sizeof ctx->p_seqcode.cream);
- else
- strncpy(ctx->p_seqcode.cream, seqcode_str, sizeof(ctx->p_seqcode.cream));
break; /* XXX: not yet */
default:
return edg_wll_SetError(ctx, EINVAL,