| 184 |
{ \ |
{ \ |
| 185 |
if ((out_buf_offset) + (tag_out_len) >= (out_buf_len)) \ |
if ((out_buf_offset) + (tag_out_len) >= (out_buf_len)) \ |
| 186 |
{ \ |
{ \ |
| 187 |
log_error("Buffer is not longer enough for output string %d >= %d\n", (out_buf_offset) + (tag_out_len), (out_buf_len)); \ |
log_error("Buffer is not longer enough for output string %d >= %d", (out_buf_offset) + (tag_out_len), (out_buf_len)); \ |
| 188 |
out_buf[out_buf_offset] = '\0'; \ |
out_buf[out_buf_offset] = '\0'; \ |
| 189 |
return (out_buf_offset); \ |
return (out_buf_offset); \ |
| 190 |
} \ |
} \ |
| 238 |
#ifdef _DEBUG |
#ifdef _DEBUG |
| 239 |
if (i >= str_in_len) |
if (i >= str_in_len) |
| 240 |
{ |
{ |
| 241 |
log_error("Bug: i(%d) >= str_in_len(%d)\n", i, str_in_len); |
log_error("Bug: i(%d) >= str_in_len(%d)", i, str_in_len); |
| 242 |
break; |
break; |
| 243 |
} |
} |
| 244 |
#endif |
#endif |