summaryrefslogtreecommitdiffstats
path: root/libril/ril.cpp
diff options
context:
space:
mode:
authorEtan Cohen <etancohen@google.com>2014-02-27 17:25:17 -0800
committerEtan Cohen <etancohen@google.com>2014-02-28 19:22:42 +0000
commit5d891b7991dd22c105e97180e0fb02d4b42911eb (patch)
tree4da0f57a15486bd02df09e69e69b4db26fa2e4ac /libril/ril.cpp
parentebdf40e65a17e8758c059a736425cd47563cdace (diff)
downloadandroid_hardware_ril-5d891b7991dd22c105e97180e0fb02d4b42911eb.tar.gz
android_hardware_ril-5d891b7991dd22c105e97180e0fb02d4b42911eb.tar.bz2
android_hardware_ril-5d891b7991dd22c105e97180e0fb02d4b42911eb.zip
[RIL] Fix build-break when enabling RILC_LOG
A couple of debug messages were using out-of-date struct members causing the build to break when the RILC_LOG flag was enabled. Change-Id: I258a58744aa3c71ddbe09e598221c149be59b554
Diffstat (limited to 'libril/ril.cpp')
-rw-r--r--libril/ril.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/libril/ril.cpp b/libril/ril.cpp
index 03a075f..2f1f8c7 100644
--- a/libril/ril.cpp
+++ b/libril/ril.cpp
@@ -1106,7 +1106,8 @@ dispatchImsGsmSms(Parcel &p, RequestInfo *pRI, uint8_t retry, int32_t messageRef
rism.messageRef = messageRef;
startRequest;
- appendPrintBuf("%sformat=%d,", printBuf, rism.format);
+ appendPrintBuf("%stech=%d, retry=%d, messageRef=%d, ", printBuf,
+ (int)rism.tech, (int)rism.retry, rism.messageRef);
if (countStrings == 0) {
// just some non-null pointer
pStrings = (char **)alloca(sizeof(char *));
@@ -1550,8 +1551,8 @@ static void dispatchSetInitialAttachApn(Parcel &p, RequestInfo *pRI)
pf.password = strdupReadString(p);
startRequest;
- appendPrintBuf("%sapn=%s, protocol=%s, auth_type=%d, username=%s, password=%s",
- printBuf, pf.apn, pf.protocol, pf.auth_type, pf.username, pf.password);
+ appendPrintBuf("%sapn=%s, protocol=%s, authtype=%d, username=%s, password=%s",
+ printBuf, pf.apn, pf.protocol, pf.authtype, pf.username, pf.password);
closeRequest;
printRequest(pRI->token, pRI->pCI->requestNumber);