Commit d61ed38766fd9f51cf99e3b5c5140e5d8c8b6b90
1 parent
898e7956
Exists in
master
and in
3 other branches
Adjusting trace method.
Showing
3 changed files
with
3 additions
and
3 deletions
Show diff stats
src/core/trace_ds.c
... | ... | @@ -323,7 +323,7 @@ void trace_ansi_disc(H3270 *hSession) |
323 | 323 | hSession->trace_skipping = 1; |
324 | 324 | } |
325 | 325 | |
326 | -void lib3270_trace_data(H3270 *hSession, const char *msg, const char *data, size_t datalen) | |
326 | +void lib3270_trace_data(H3270 *hSession, const char *msg, const unsigned char *data, size_t datalen) | |
327 | 327 | { |
328 | 328 | // 00000000001111111111222222222233333333334444444444555555555566666666667777777777 |
329 | 329 | // 01234567890123456789012345678901234567890123456789012345678901234567890123456789 | ... | ... |
src/include/lib3270/trace.h
... | ... | @@ -129,7 +129,7 @@ |
129 | 129 | * @param datalen Length of the data block. |
130 | 130 | * |
131 | 131 | */ |
132 | - LIB3270_EXPORT void lib3270_trace_data(H3270 *hSession, const char *msg, const char *data, size_t datalen); | |
132 | + LIB3270_EXPORT void lib3270_trace_data(H3270 *hSession, const char *msg, const unsigned char *data, size_t datalen); | |
133 | 133 | |
134 | 134 | |
135 | 135 | #ifdef __cplusplus | ... | ... |
src/ssl/linux/ldap.c
... | ... | @@ -212,7 +212,7 @@ LIB3270_INTERNAL X509_CRL * get_crl_using_ldap(H3270 *hSession, SSL_ERROR_MESSAG |
212 | 212 | lib3270_trace_data( |
213 | 213 | hSession, |
214 | 214 | "CRL Data received from LDAP server", |
215 | - (const char *) value[0]->bv_val, | |
215 | + (const unsigned char *) value[0]->bv_val, | |
216 | 216 | value[0]->bv_len |
217 | 217 | ); |
218 | 218 | } | ... | ... |