/*
- * $Id: afp_dsi.c,v 1.9.2.1 2001-12-03 05:01:03 jmarcus Exp $
+ * $Id: afp_dsi.c,v 1.9.2.2 2002-01-14 02:53:24 srittau Exp $
*
* Copyright (c) 1999 Adrian Sun (asun@zoology.washington.edu)
* Copyright (c) 1990,1993 Regents of The University of Michigan.
function = (u_char) dsi->commands[0];
if (obj->options.flags & OPTION_DEBUG ) {
printf("command: %d\n", function);
- bprint(dsi->commands, dsi->cmdlen);
+ bprint((char *) dsi->commands, dsi->cmdlen);
}
/* send off an afp command. in a couple cases, we take advantage
if (obj->options.flags & OPTION_DEBUG ) {
printf( "reply: %d, %d\n", err, dsi->clientID);
- bprint(dsi->data, dsi->datalen);
+ bprint((char *) dsi->data, dsi->datalen);
}
if (!dsi_cmdreply(dsi, err)) {
function = (u_char) dsi->commands[0];
if ( obj->options.flags & OPTION_DEBUG ) {
printf("(write) command: %d, %d\n", function, dsi->cmdlen);
- bprint(dsi->commands, dsi->cmdlen);
+ bprint((char *) dsi->commands, dsi->cmdlen);
}
if ( afp_switch[ function ] != NULL ) {
if (obj->options.flags & OPTION_DEBUG ) {
printf( "(write) reply code: %d, %d\n", err, dsi->clientID);
- bprint(dsi->data, dsi->datalen);
+ bprint((char *) dsi->data, dsi->datalen);
}
if (!dsi_wrtreply(dsi, err)) {