Permalink
Browse files

removed RFCNB_Print_Pkt calls to get code compiled

  • Loading branch information...
1 parent 3101f1e commit 953ce4abe2f76fe26f716dd6a8d29909f69679a1 @rsim committed Nov 24, 2008
Showing with 0 additions and 3 deletions.
  1. +0 −3 smbval/rfcnb-io.inc.c
View
3 smbval/rfcnb-io.inc.c
@@ -135,7 +135,6 @@ RFCNB_Put_Pkt(struct RFCNB_Con *con, struct RFCNB_Pkt *pkt, int len)
#ifdef RFCNB_DEBUG
fprintf(stderr, "Len sent = %i ...\n", len_sent);
- RFCNB_Print_Pkt(stderr, "sent", pkt, len_sent); /* Print what send... */
#endif
return len_sent;
}
@@ -205,7 +204,6 @@ RFCNB_Get_Pkt(struct RFCNB_Con *con, struct RFCNB_Pkt *pkt, int len)
* supplied packet */
memcpy(pkt->data, hdr, read_len); /* Copy data */
#ifdef RFCNB_DEBUG
- RFCNB_Print_Pkt(stderr, "rcvd", pkt, read_len);
#endif
return read_len;
}
@@ -279,7 +277,6 @@ RFCNB_Get_Pkt(struct RFCNB_Con *con, struct RFCNB_Pkt *pkt, int len)
#ifdef RFCNB_DEBUG
fprintf(stderr, "Pkt Len = %i, read_len = %i\n", pkt_len, read_len);
- RFCNB_Print_Pkt(stderr, "rcvd", pkt, read_len + sizeof(hdr));
#endif
if (read_len < (pkt_len + sizeof(hdr))) { /* Discard the rest */

0 comments on commit 953ce4a

Please sign in to comment.