Commit d321056e authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

made VERBOSE output more like it used to be, HEADER_IN is thus also ignored

by the internal debugfunction callback
parent d9a1a59f
Loading
Loading
Loading
Loading
+9 −7
Original line number Diff line number Diff line
@@ -392,13 +392,15 @@ int Curl_debug(struct SessionHandle *data, curl_infotype type,
    return (*data->set.fdebug)(data, type, ptr, size,
                               data->set.debugdata);

  if(type >= CURLINFO_DATA_IN)
    /* don't do the data parts now */
    return 0;

  switch(type) {
  case CURLINFO_TEXT:
  case CURLINFO_HEADER_OUT:
    fwrite(s_infotype[type], 2, 1, data->set.err);
    fwrite(ptr, size, 1, data->set.err);

    break;
  default: /* nada */
    break;
  }
  return 0;
}