Changeset 4537 for pjproject/trunk/pjlib/src/pjlib-test/ssl_sock.c
- Timestamp:
- Jun 19, 2013 6:47:43 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjlib/src/pjlib-test/ssl_sock.c
r4247 r4537 74 74 pj_bool_t echo; /* echo received data */ 75 75 pj_status_t err; /* error flag */ 76 unsignedsent; /* bytes sent */77 unsignedrecv; /* bytes received */76 pj_size_t sent; /* bytes sent */ 77 pj_size_t recv; /* bytes received */ 78 78 pj_uint8_t read_buf[256]; /* read buffer */ 79 79 pj_bool_t done; /* test done flag */ 80 80 char *send_str; /* data to send once connected */ 81 unsignedsend_str_len; /* send data length */81 pj_size_t send_str_len; /* send data length */ 82 82 pj_bool_t check_echo; /* flag to compare sent & echoed data */ 83 83 const char *check_echo_ptr; /* pointer/cursor for comparing data */ … … 364 364 365 365 if (sent < 0) { 366 st->err = -sent;366 st->err = (pj_status_t)-sent; 367 367 } else { 368 368 st->sent += sent; … … 1114 1114 pj_ssl_cert_t *cert = NULL; 1115 1115 pj_status_t status; 1116 unsigned i, cli_err = 0, tot_sent = 0, tot_recv = 0; 1116 unsigned i, cli_err = 0; 1117 pj_size_t tot_sent = 0, tot_recv = 0; 1117 1118 pj_time_val start; 1118 1119
Note: See TracChangeset
for help on using the changeset viewer.