fix clang build

This commit is contained in:
Michael Jerris committed 2015-05-28 12:47:25 -05:00
1 parent c517be4330
commit 8d30c18c5a
3 files changed
+6 -6

No files matched your search

+1 -1
View File
@@ -3028,7 +3028,7 @@ ldl_status ldl_session_get_candidates(ldl_session_t *session, ldl_transport_type
{
assert(tport < LDL_TPORT_MAX);
if (session->candidate_len) {
if (session->candidate_len[tport]) {
*candidates = session->candidates[tport];
*len = session->candidate_len[tport];
return LDL_STATUS_SUCCESS;