Browse Source

Fixed some typos

Staz M 5 years ago
parent
commit
9c3b3ffb08
1 changed files with 1 additions and 5 deletions
  1. 1 5
      src/description.cpp

+ 1 - 5
src/description.cpp

@@ -229,7 +229,7 @@ string Description::generateSdp(const string &eol) const {
 
 
     sdp << "a=ice-ufrag:" << mIceUfrag << eol;
     sdp << "a=ice-ufrag:" << mIceUfrag << eol;
     sdp << "a=ice-pwd:" << mIcePwd << eol;
     sdp << "a=ice-pwd:" << mIcePwd << eol;
-    sdp << "a=setup:" << roleToString(mRole) << eol;g
+    sdp << "a=setup:" << roleToString(mRole) << eol;
     sdp << "a=tls-id:1" << eol;
     sdp << "a=tls-id:1" << eol;
 
 
     if (mFingerprint)
     if (mFingerprint)
@@ -269,10 +269,6 @@ string Description::generateSdp(const string &eol) const {
 			if (mData.maxMessageSize)
 			if (mData.maxMessageSize)
 				sdp << "a=max-message-size:" << *mData.maxMessageSize << eol;
 				sdp << "a=max-message-size:" << *mData.maxMessageSize << eol;
 		}
 		}
-
-		if (i == 0) {
-
-		}
 	}
 	}
 
 
 	// Candidates
 	// Candidates