git-svn: trunk@1878
Tomasz Kojm authored on 2006/03/28 07:47:45... | ... |
@@ -304,7 +304,7 @@ void *cli_malloc(size_t size) |
304 | 304 |
|
305 | 305 |
|
306 | 306 |
if(!size || size > MAX_ALLOCATION) { |
307 |
- cli_errmsg("Attempt to allocate %d bytes. Please report to bugs@clamav.net\n", size); |
|
307 |
+ cli_errmsg("cli_malloc(): Attempt to allocate %d bytes. Please report to bugs@clamav.net\n", size); |
|
308 | 308 |
return NULL; |
309 | 309 |
} |
310 | 310 |
|
... | ... |
@@ -324,7 +324,7 @@ void *cli_calloc(size_t nmemb, size_t size) |
324 | 324 |
|
325 | 325 |
|
326 | 326 |
if(!size || size > MAX_ALLOCATION) { |
327 |
- cli_errmsg("Attempt to allocate %d bytes. Please report to bugs@clamav.net\n", size); |
|
327 |
+ cli_errmsg("cli_calloc(): Attempt to allocate %d bytes. Please report to bugs@clamav.net\n", size); |
|
328 | 328 |
return NULL; |
329 | 329 |
} |
330 | 330 |
|
... | ... |
@@ -344,7 +344,7 @@ void *cli_realloc(void *ptr, size_t size) |
344 | 344 |
|
345 | 345 |
|
346 | 346 |
if(!size || size > MAX_ALLOCATION) { |
347 |
- cli_errmsg("Attempt to allocate %d bytes. Please report to bugs@clamav.net\n", size); |
|
347 |
+ cli_errmsg("cli_realloc(): Attempt to allocate %d bytes. Please report to bugs@clamav.net\n", size); |
|
348 | 348 |
return NULL; |
349 | 349 |
} |
350 | 350 |
|