Ignore:
Timestamp:
Apr 9, 2008 12:08:08 PM (16 years ago)
Author:
bennylp
Message:

Improve the PJNATH documentation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjnath/src/pjnath/turn_session.c

    r1913 r1914  
    556556 * Set credential to be used by the session. 
    557557 */ 
    558 PJ_DEF(pj_status_t) pj_turn_session_set_cred(pj_turn_session *sess, 
     558PJ_DEF(pj_status_t) pj_turn_session_set_credential(pj_turn_session *sess, 
    559559                                             const pj_stun_auth_cred *cred) 
    560560{ 
    561561    PJ_ASSERT_RETURN(sess && cred, PJ_EINVAL); 
     562    PJ_ASSERT_RETURN(sess->stun, PJ_EINVALIDOP); 
    562563 
    563564    pj_lock_acquire(sess->lock); 
Note: See TracChangeset for help on using the changeset viewer.