Browse Source

Add return RTC_ERR_FAILURE at the end of rtcGetLocalDescriptionSdp.

Hanseul Jun 5 năm trước cách đây
mục cha
commit
84c298f4f8
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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;
 	});
 }