debug.c (ssldump-0.9b3) | : | debug.c (ssldump-1.3) | ||
---|---|---|---|---|
skipping to change at line 44 | skipping to change at line 44 | |||
OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | |||
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | |||
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | |||
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY SUCH DAMA GE. | OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY SUCH DAMA GE. | |||
$Id: debug.c,v 1.3 2001/12/24 06:06:26 ekr Exp $ | $Id: debug.c,v 1.3 2001/12/24 06:06:26 ekr Exp $ | |||
ekr@rtfm.com Wed Jan 6 17:08:58 1999 | ekr@rtfm.com Wed Jan 6 17:08:58 1999 | |||
*/ | */ | |||
static char *RCSSTRING="$Id: debug.c,v 1.3 2001/12/24 06:06:26 ekr Exp $"; | ||||
#include <stdarg.h> | #include <stdarg.h> | |||
#include <stdio.h> | #include <stdio.h> | |||
#include "r_common.h" | #include "r_common.h" | |||
#include "debug.h" | #include "debug.h" | |||
int debug(int class,char *format,...) | int debug(int class,char *format,...) | |||
{ | { | |||
va_list ap; | va_list ap; | |||
va_start(ap,format); | va_start(ap,format); | |||
vfprintf(stderr,format,ap); | vfprintf(stderr,format,ap); | |||
fprintf(stderr,"\n"); | fprintf(stderr,"\n"); | |||
va_end(ap); | ||||
return(0); | return(0); | |||
} | } | |||
int xdump(name,data,len) | int xdump(name,data,len) | |||
char *name; | char *name; | |||
UCHAR *data; | UCHAR *data; | |||
int len; | int len; | |||
{ | { | |||
int i; | int i; | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 1 lines changed or added |