error string set *** */
| 86 | |
| 87 | /* *** error string set *** */ |
| 88 | void errstat_cat_str(errstat_t *err, const char *errstr) |
| 89 | { |
| 90 | /* |
| 91 | if ( !err || !errstr ) { return; } |
| 92 | |
| 93 | strncat0( err->errstr, errstr, sizeof(err->errstr) ); |
| 94 | */ |
| 95 | errstat_cat_strf(err, "%s", errstr); |
| 96 | } |
| 97 | |
| 98 | void errstat_set_str(errstat_t *err, const char *errstr) |
| 99 | { |
no test coverage detected