Format int to string for logging (poll thread only, one use per call). */
| 333 | |
| 334 | /* Format int to string for logging (poll thread only, one use per call). */ |
| 335 | static const char *itoa_buf(int v) { |
| 336 | static CBM_TLS char buf[CBM_SZ_32]; |
| 337 | snprintf(buf, sizeof(buf), "%d", v); |
| 338 | return buf; |
| 339 | } |
| 340 | |
| 341 | static void delete_cached_project_db(const char *project_name) { |
| 342 | if (!cbm_validate_project_name(project_name)) { |