Skip to content

Instantly share code, notes, and snippets.

View qingxp9's full-sized avatar

qingxp9 qingxp9

View GitHub Profile
@qingxp9
qingxp9 / yatebts-gcc6-gcc7.patch
Created November 6, 2018 03:39
yatebts-gcc6-gcc7.patch
#This patch works for gcc6, gcc7, and is from http://yate.null.ro/mantis/view.php?id=416
--- a/mbts/GPRS/MSInfo.cpp
+++ b/mbts/GPRS/MSInfo.cpp
@@ -638,7 +638,7 @@
if (msPCHDowns.size() > 1) {
std::ostringstream os;
msDumpChannels(os);
- GPRSLOG(INFO,GPRS_MSG|GPRS_CHECK_OK) << "Multislot assignment for "<<this<<os;
+ GPRSLOG(INFO,GPRS_MSG|GPRS_CHECK_OK) << "Multislot assignment for "<<this<<(!os.fail());
}