summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
b755955)
Actually, this should be resolved by using size_t a bit more, but
that'll be for later.
va_list args;
char *format;
int ret;
va_list args;
char *format;
int ret;
MS_STATIC char hugebuf[1024*2]; /* 10k in one chunk is the limit */
va_start(args, bio);
format=va_arg(args, char *);
hugebuf[0]='\0';
MS_STATIC char hugebuf[1024*2]; /* 10k in one chunk is the limit */
va_start(args, bio);
format=va_arg(args, char *);
hugebuf[0]='\0';
- dopr(hugebuf, sizeof(hugebuf), &ret, format, args);
- ret=BIO_write(bio, hugebuf, ret);
+ dopr(hugebuf, sizeof(hugebuf), &retlen, format, args);
+ ret=BIO_write(bio, hugebuf, (int)retlen);
va_end(args);
return(ret);
va_end(args);
return(ret);