X-Git-Url: http://git.eversberg.eu/gitweb.cgi?p=lcr.git;a=blobdiff_plain;f=ie.cpp;h=75b86f4ac01eed0b66f0d9f52b0d5f66711e8644;hp=d0c3f4967162a8b37a18ff2014201de38e36218d;hb=701b046a45c2c79cc6d07ac3a4f84f499f7ed376;hpb=1ace98e214e20173f027f50abac2546159735e59 diff --git a/ie.cpp b/ie.cpp index d0c3f49..75b86f4 100644 --- a/ie.cpp +++ b/ie.cpp @@ -526,7 +526,7 @@ void Pdss1::dec_ie_calling_pn(unsigned char *p, Q931_info_t *qi, int *type, int add_trace("calling_pn", "plan", "%d", *plan); add_trace("calling_pn", "present", "%d", *present); add_trace("calling_pn", "screen", "%d", *screen); - add_trace("calling_pn", "number", "%s", *number); + add_trace("calling_pn", "number", "%s", number); } @@ -1096,7 +1096,7 @@ void Pdss1::enc_ie_progress(unsigned char **ntmode, msg_t *msg, int coding, int add_trace("progress", "codeing", "%d", coding); add_trace("progress", "location", "%d", location); - add_trace("progress", "indicator", "%d", indicator); + add_trace("progress", "indicator", "%d", progress); l = 2; p = msg_put(msg, l+2); @@ -1136,7 +1136,7 @@ void Pdss1::dec_ie_progress(unsigned char *p, Q931_info_t *qi, int *coding, int add_trace("progress", "codeing", "%d", *coding); add_trace("progress", "location", "%d", *location); - add_trace("progress", "indicator", "%d", *indicator); + add_trace("progress", "indicator", "%d", *progress); } @@ -1426,7 +1426,7 @@ void Pdss1::dec_ie_facility(unsigned char *p, Q931_info_t *qi, unsigned char *fa } debug[i*3] = '\0'; - add_trace("facility", NULL, "%s", buffer[0]?buffer+1:""); + add_trace("facility", NULL, "%s", debug[0]?debug+1:""); } @@ -1521,7 +1521,7 @@ void Pdss1::dec_facility_centrex(unsigned char *p, Q931_info_t *qi, unsigned cha UPRINT(debug+(j*3), " %02x", centrex[i+1+j]); i++; } - add_trace("facility", "CENTREX", "unknown=0x%2x len=%d%s\n", centrex[i], centrex[i+1], debug); + add_trace("facility", "CENTREX", "unknown=0x%02x len=%d%s\n", centrex[i], centrex[i+1], debug); } i += 1+centrex[i+1]; }