Re-optimized yang cardinality
Misc rearrangements
This commit is contained in:
parent
d2f3405ab6
commit
fcdfbd23cc
6 changed files with 46 additions and 56 deletions
|
|
@ -501,7 +501,7 @@ clixon_err_restore(void* handle)
|
|||
if ((es = (struct err_state *)handle) != NULL){
|
||||
_err_category = es->es_category;
|
||||
_err_subnr = es->es_subnr;
|
||||
strncpy(_err_reason, es->es_reason, ERR_STRLEN-1);
|
||||
strcpy(_err_reason, es->es_reason);
|
||||
free(es);
|
||||
}
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue