2
0
Эх сурвалжийг харах

Add return RTC_ERR_FAILURE at the end of rtcGetLocalDescriptionSdp.

Hanseul Jun 4 жил өмнө
parent
commit
84c298f4f8
1 өөрчлөгдсөн 2 нэмэгдсэн , 0 устгасан
  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;
 	});
 }