Clear storage for buf.

git-svn-id: file:///home/jj/hercules.svn/trunk@6929 956126f8-22a0-4046-8f4a-272fa8102e63
This commit is contained in:
Paul Gorlinsky
2010-10-17 04:19:26 +00:00
parent f714312490
commit 1a728dd3b3

View File

@@ -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) \
{ \