From ead3e8cb9582972c54600b5e57bcee9c1ccbb4c1 Mon Sep 17 00:00:00 2001 From: gardners Date: Sun, 22 Apr 2012 06:29:10 +0930 Subject: [PATCH] cleaned out some debug info. --- keyring.c | 4 ---- overlay_mdp.c | 3 --- vomp.c | 3 --- 3 files changed, 10 deletions(-) diff --git a/keyring.c b/keyring.c index d8c9f1c5..610b91d7 100644 --- a/keyring.c +++ b/keyring.c @@ -241,7 +241,6 @@ void keyring_free_context(keyring_context *c) void keyring_free_identity(keyring_identity *id) { int i; - WHYF("id->PKRPin=%p\n",id->PKRPin); if (id->PKRPin) { /* Wipe pin before freeing (slightly tricky since this is a variable length string */ for(i=0;id->PKRPin[i];i++) { @@ -249,7 +248,6 @@ void keyring_free_identity(keyring_identity *id) id->PKRPin[i]=' '; } i=0; - WHYF("id->PKRPin=%p\n",id->PKRPin); free(id->PKRPin); id->PKRPin=NULL; } @@ -522,8 +520,6 @@ keyring_identity *keyring_unpack_identity(unsigned char *slot,char *pin) id->PKRPin=strdup(pin); - WHYF("id->PKRPin=%p\n",id->PKRPin); - /* There was a known plain-text opportunity here: byte 96 must be 0x01, and some other bytes are likely deducible, e.g., the location of the trailing 0x00 byte can probably be guessed with confidence. diff --git a/overlay_mdp.c b/overlay_mdp.c index 9a509914..535c1e2c 100644 --- a/overlay_mdp.c +++ b/overlay_mdp.c @@ -572,9 +572,6 @@ int overlay_mdp_dispatch(overlay_mdp_frame *mdp,int userGeneratedFrameP, /* Work out if destination is broadcast or not */ int broadcast=1; - fprintf(stderr, - "TX mdp dst.port=%d, src.port=%d\n",mdp->out.dst.port,mdp->out.src.port); - if (overlay_mdp_sanitytest_sourceaddr(&mdp->out.src,userGeneratedFrameP, recvaddr,recvaddrlen)) return overlay_mdp_reply_error diff --git a/vomp.c b/vomp.c index 1680df99..68c1b030 100644 --- a/vomp.c +++ b/vomp.c @@ -518,9 +518,6 @@ int vomp_mdp_received(overlay_mdp_frame *mdp) vomp_call_state *call=NULL; - WHYF("VoMP type byte = 0x%02x\n",mdp->in.payload[0]); - dump("rxd mdp",&mdp->in.payload[0],mdp->in.payload_length); - switch(mdp->in.payload[0]) { case 0x01: /* Ordinary VoMP state+optional audio frame */ {