Selaa lähdekoodia

Add return RTC_ERR_FAILURE at the end of rtcGetLocalDescriptionSdp.

Hanseul Jun 5 vuotta sitten
vanhempi
commit
84c298f4f8
1 muutettua tiedostoa jossa 2 lisäystä ja 0 poistoa
  1. 2 0
      src/capi.cpp

+ 2 - 0
src/capi.cpp

@@ -547,6 +547,8 @@ int rtcGetLocalDescriptionSdp(int pc, char *buffer, int size) {
 			buffer[size] = '\0';
 			return size + 1;
 		}
+
+		return RTC_ERR_FAILURE;
 	});
 }