| 330 | } |
| 331 | |
| 332 | char * |
| 333 | crm_itoa(int an_int) |
| 334 | { |
| 335 | int len = 32; |
| 336 | char *buffer = NULL; |
| 337 | |
| 338 | buffer = calloc(1, (len + 1)); |
| 339 | if (buffer != NULL) { |
| 340 | snprintf(buffer, len, "%d", an_int); |
| 341 | } |
| 342 | |
| 343 | return buffer; |
| 344 | } |
| 345 | |
| 346 | |
| 347 | int |
no outgoing calls
no test coverage detected