[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
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 @@
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 @@
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);