mirror of
https://github.com/SDL-Hercules-390/hyperion.git
synced 2026-04-21 11:16:38 +02:00
Clear storage for buf.
git-svn-id: file:///home/jj/hercules.svn/trunk@6929 956126f8-22a0-4046-8f4a-272fa8102e63
This commit is contained in:
4
logmsg.c
4
logmsg.c
@@ -43,7 +43,7 @@
|
||||
/******************************************/
|
||||
#if defined(_MSVC_)
|
||||
#define BFR_VSNPRINTF() \
|
||||
bfr=malloc(siz); \
|
||||
bfr=(char *)calloc(1,siz); \
|
||||
rc=-1; \
|
||||
while(bfr&&rc<0) \
|
||||
{ \
|
||||
@@ -58,7 +58,7 @@
|
||||
}
|
||||
#else
|
||||
#define BFR_VSNPRINTF() \
|
||||
bfr=malloc(siz); \
|
||||
bfr=(char*)calloc(1,siz); \
|
||||
rc=-1; \
|
||||
while(bfr&&rc<0) \
|
||||
{ \
|
||||
|
||||
Reference in New Issue
Block a user