es->stack[ es->header.count ] = error; es->header.count++;
if (es->header.count < es->header.space) { es->stack[ es->header.count++ ] = error; } else { memmove(es->stack, es->stack + 1, (es->header.space - 1) * (sizeof es->stack[0])); es->stack[ es->header.space - 1 ] = error; }
nss_SetError(  PRUint32 error){  error_stack *es;  if( 0 == error ) {    nss_ClearErrorStack();    return;  }  es = error_get_my_stack();  if( (error_stack *)NULL == es ) {    /* Oh, well. */    return;  }  es->stack[ es->header.count ] = error;  es->header.count++;  return;}