Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:mnhauke:openbts
openbts-umts
openbts-umts-fix-gcc6-compile-error.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File openbts-umts-fix-gcc6-compile-error.patch of Package openbts-umts
diff --git a/SGSNGGSN/Sgsn.cpp b/SGSNGGSN/Sgsn.cpp index 74dd92c..c148ae5 100644 --- a/SGSNGGSN/Sgsn.cpp +++ b/SGSNGGSN/Sgsn.cpp @@ -124,7 +124,7 @@ void SgsnInfo::sirm() { std::ostringstream ss; sgsnInfoDump(this,ss); - SGSNLOG("Removing SgsnInfo:"<<ss); + SGSNLOG("Removing SgsnInfo:"<<(!ss.fail())); sSgsnInfoList.remove(this); delete this; } @@ -221,7 +221,7 @@ static void GmmRemove(GmmInfo *gmm) { std::ostringstream ss; gmmInfoDump(gmm,ss,0); - SGSNLOG("Removing gmm:"<<ss); + SGSNLOG("Removing gmm:"<<(!ss.fail())); SgsnInfo *si; RN_FOR_ALL(SgsnInfoList_t,sSgsnInfoList,si) { // The second test here should be redundant. diff --git a/SIP/SIPInterface.cpp b/SIP/SIPInterface.cpp index f9dc59f..51fa105 100644 --- a/SIP/SIPInterface.cpp +++ b/SIP/SIPInterface.cpp @@ -287,7 +287,7 @@ const char* extractIMSI(const osip_message_t *msg) unsigned namelen = strlen(IMSI); if ((namelen>19)||(namelen<18)) { LOG(WARNING) << "INVITE with malformed username \"" << IMSI << "\""; - return false; + return NULL; } // Skip first 4 char "IMSI". return IMSI+4; diff --git a/SMS/SMSMessages.cpp b/SMS/SMSMessages.cpp index 2b33d01..21ec723 100644 --- a/SMS/SMSMessages.cpp +++ b/SMS/SMSMessages.cpp @@ -75,7 +75,7 @@ RPData *SMS::hex2rpdata(const char *hexstring) BitVector RPDUbits(strlen(hexstring)*4); if (!RPDUbits.unhex(hexstring)) { - return false; + return NULL; } LOG(DEBUG) << "SMS RPDU bits: " << RPDUbits;
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor