Selaa lähdekoodia

Fix typo in Candidate SDP parsing

Staz M 4 vuotta sitten
vanhempi
commit
5728f813d1
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      src/candidate.cpp

+ 1 - 1
src/candidate.cpp

@@ -108,7 +108,7 @@ void Candidate::parse(string candidate) {
 	trim_begin(mTail);
 	trim_end(mTail);
 
-	if (auto it = TypeMap.find(type); it != TypeMap.end())
+	if (auto it = TypeMap.find(mTypeString); it != TypeMap.end())
 		mType = it->second;
 	else
 		mType = Type::Unknown;