removed debug code

This commit is contained in:
MelwareDE 2007-04-23 22:33:45 +00:00
parent 625b1b6205
commit 643081eb2f
2 changed files with 5 additions and 3 deletions

View File

@ -448,6 +448,7 @@ int handle_facility_indication_supplementary(
if (get_ccbsnr_link(CCBSNR_TYPE_CCBS, PLCI, 0, rbref, NULL, &partybusy) == NULL) { if (get_ccbsnr_link(CCBSNR_TYPE_CCBS, PLCI, 0, rbref, NULL, &partybusy) == NULL) {
cc_log(LOG_WARNING, "capi CCBS status reference not found!\n"); cc_log(LOG_WARNING, "capi CCBS status reference not found!\n");
} }
#if 0
capi_sendf(NULL, 0, CAPI_FACILITY_RESP, PLCI, HEADER_MSGNUM(CMSG), capi_sendf(NULL, 0, CAPI_FACILITY_RESP, PLCI, HEADER_MSGNUM(CMSG),
"w(w(w))", "w(w(w))",
FACILITYSELECTOR_SUPPLEMENTARY, FACILITYSELECTOR_SUPPLEMENTARY,
@ -455,6 +456,7 @@ int handle_facility_indication_supplementary(
(partybusy) ? 0x0000 : 0x0001 (partybusy) ? 0x0000 : 0x0001
); );
ret = 1; ret = 1;
#endif
break; break;
case 0x800f: /* CCBS remote user free */ case 0x800f: /* CCBS remote user free */
rbref = read_capi_word(&FACILITY_IND_FACILITYINDICATIONPARAMETER(CMSG)[6]); rbref = read_capi_word(&FACILITY_IND_FACILITYINDICATIONPARAMETER(CMSG)[6]);
@ -584,7 +586,7 @@ void handle_facility_confirmation_supplementary(
} }
break; break;
case 0x000f: /* CCBS request */ case 0x000f: /* CCBS request */
cc_verbose(2, 0, VERBOSE_PREFIX_3 "%s: CCBS request confirmation (0x%04x) (PLCI=%#x)\n", cc_verbose(2, 1, VERBOSE_PREFIX_3 "%s: CCBS request confirmation (0x%04x) (PLCI=%#x)\n",
name, serviceinfo, PLCI); name, serviceinfo, PLCI);
break; break;
default: default:

View File

@ -201,7 +201,7 @@ MESSAGE_EXCHANGE_ERROR _capi_put_msg(unsigned char *msg)
return -1; return -1;
} }
/* capi_message2cmsg(&CMSG, msg); */ capi_message2cmsg(&CMSG, msg);
error = capi20_put_message(capi_ApplID, msg); error = capi20_put_message(capi_ApplID, msg);
@ -210,7 +210,7 @@ MESSAGE_EXCHANGE_ERROR _capi_put_msg(unsigned char *msg)
return -1; return -1;
} }
/* log_capi_message(error, &CMSG); */ log_capi_message(error, &CMSG);
return error; return error;
} }