~ubuntu-branches/ubuntu/intrepid/curl/intrepid

« back to all changes in this revision

Viewing changes to docs/examples/debug.c

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2007-05-16 15:16:54 UTC
  • mfrom: (1.1.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20070516151654-jo48r81zempo1qav
Tags: 7.16.2-3ubuntu1
* Merge with Debian; remaining changes:
  - Drop the stunnel build dependency.

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
 *                            | (__| |_| |  _ <| |___
6
6
 *                             \___|\___/|_| \_\_____|
7
7
 *
8
 
 * $Id: debug.c,v 1.1 2004/08/23 14:22:26 bagder Exp $
 
8
 * $Id: debug.c,v 1.2 2006-10-20 21:26:10 bagder Exp $
9
9
 */
10
10
 
11
11
#include <stdio.h>
84
84
  case CURLINFO_DATA_OUT:
85
85
    text = "=> Send data";
86
86
    break;
 
87
  case CURLINFO_SSL_DATA_OUT:
 
88
    text = "=> Send SSL data";
 
89
    break;
87
90
  case CURLINFO_HEADER_IN:
88
91
    text = "<= Recv header";
89
92
    break;
93
96
  case CURLINFO_SSL_DATA_IN:
94
97
    text = "<= Recv SSL data";
95
98
    break;
96
 
  case CURLINFO_SSL_DATA_OUT:
97
 
    text = "<= Send SSL data";
98
 
    break;
99
99
  }
100
100
 
101
101
  dump(text, stderr, data, size, config->trace_ascii);