moved here from the newlib branch

This commit is contained in:
Daniel Stenberg
2000-05-22 14:12:12 +00:00
parent fb9d1ff00f
commit 96dde76b99
54 changed files with 2824 additions and 2580 deletions

View File

@@ -61,7 +61,7 @@
void infof(struct UrlData *data, char *fmt, ...)
{
va_list ap;
if(data->conf & CONF_VERBOSE) {
if(data->bits.verbose) {
va_start(ap, fmt);
fputs("* ", data->err);
vfprintf(data->err, fmt, ap);
@@ -95,7 +95,7 @@ int sendf(int fd, struct UrlData *data, char *fmt, ...)
va_end(ap);
if(!s)
return 0; /* failure */
if(data->conf & CONF_VERBOSE)
if(data->bits.verbose)
fprintf(data->err, "> %s", s);
#ifndef USE_SSLEAY
bytes_written = swrite(fd, s, strlen(s));