Changeset 4405


Ignore:
Timestamp:
Feb 27, 2013 2:51:34 PM (7 years ago)
Author:
riza
Message:

Re #1618: backported to 1.x

Location:
pjproject/branches/1.x
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/1.x

  • pjproject/branches/1.x/pjlib/src/pj/ssl_sock_ossl.c

    r4392 r4405  
    15521552        if (ssock->param.cb.on_data_sent) { 
    15531553            pj_bool_t ret; 
     1554            pj_ssize_t sent_len; 
     1555 
     1556            sent_len = (sent > 0)? wdata->plain_data_len : sent; 
    15541557            ret = (*ssock->param.cb.on_data_sent)(ssock, wdata->app_key,  
    1555                                                   wdata->plain_data_len); 
     1558                                                  sent_len); 
    15561559            if (!ret) { 
    15571560                /* We've been destroyed */ 
Note: See TracChangeset for help on using the changeset viewer.