summarylogtreecommitdiffstats
path: root/gcc.patch
diff options
context:
space:
mode:
authorChris2018-09-24 10:11:36 +0000
committerChris2018-09-24 10:15:15 +0000
commitfa350c6cd7bef69073467249456566dc660cd330 (patch)
tree403462e782f19b5e2a3f0c332e80736a95dbcce4 /gcc.patch
downloadaur-fa350c6cd7bef69073467249456566dc660cd330.tar.gz
Initial commit - yate-bts
Diffstat (limited to 'gcc.patch')
-rw-r--r--gcc.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/gcc.patch b/gcc.patch
new file mode 100644
index 000000000000..20129ea64a65
--- /dev/null
+++ b/gcc.patch
@@ -0,0 +1,32 @@
+--- 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());
+ }
+
+ } else {
+--- a/mbts/SGSNGGSN/Sgsn.cpp
++++ b/mbts/SGSNGGSN/Sgsn.cpp
+@@ -149,7 +149,7 @@
+ clearConn(GprsConnNone,SigConnLost);
+ std::ostringstream ss;
+ sgsnInfoDump(this,ss);
+- SGSNLOGF(INFO,GPRS_OK|GPRS_MSG,"SGSN","Removing SgsnInfo:"<<ss);
++ SGSNLOGF(INFO,GPRS_OK|GPRS_MSG,"SGSN","Removing SgsnInfo:"<<(!ss.fail()));
+ sSgsnInfoList.remove(this);
+ GmmInfo *gmm = getGmm();
+ if (gmm && (gmm->getSI() == this)) {
+@@ -252,7 +252,7 @@
+ {
+ std::ostringstream ss;
+ gmmInfoDump(gmm,ss,0);
+- SGSNLOGF(INFO,GPRS_OK|GPRS_MSG,"SGSN","Removing gmm:"<<ss);
++ SGSNLOGF(INFO,GPRS_OK|GPRS_MSG,"SGSN","Removing gmm:"<<(!ss.fail()));
+ SgsnInfo *si;
+ RN_FOR_ALL(SgsnInfoList_t,sSgsnInfoList,si) {
+ // The second test here should be redundant.
+