/* skip 'basic' code */
iField++;
memset(authStr, 0x00, sizeof(authStr));
- snprintf(authStr, sizeof(authStr), "%%%lus", sizeof(userId));
+ snprintf(authStr, sizeof(authStr), "%%%us", sizeof(userId));
sscanf((char*)(fieldValue + iField), authStr, userId );
iField = iField + AcStrlen( (char*)userId ) + 1;
memset(authStr, 0x00, sizeof(authStr));
- snprintf(authStr, sizeof(authStr), "%%%lus", sizeof(passWd));
+ snprintf(authStr, sizeof(authStr), "%%%us", sizeof(passWd));
sscanf( (char*)(fieldValue + iField), authStr, passWd );
iField = iField + AcStrlen( (char*)userId ) + 1;
snprintf( (char*)*pDecodedString, (sizeof(char)*WSP_STANDARD_STR_LEN_MAX*2), "basic %s/%s", userId, passWd );
/* skip 'basic' code */
iField++;
memset(authStr, 0x00, sizeof(authStr));
- snprintf(authStr, sizeof(authStr), "%%%lus", sizeof(userId));
+ snprintf(authStr, sizeof(authStr), "%%%us", sizeof(userId));
sscanf( (char*)(fieldValue + iField), authStr, userId );
iField = iField + AcStrlen( (char*)userId ) + 1;
for (; it != sentStatusCBList.end(); it++)
{
- if (it->hAddr == pMsgHandle && it->pfSentStatusCB == pfSentStatus) {
+ if ((MsgHandle*)it->hAddr == pMsgHandle && it->pfSentStatusCB == pfSentStatus) {
MSG_DEBUG("msg_sent_status_cb() callback : [%p] is already registered!!!", pfSentStatus);
return false;
}
for (; it != newMessageCBList.end(); it++)
{
- if (it->hAddr == pMsgHandle && it->port == port && it->pfIncomingCB == pfNewMessage) {
+ if ((MsgHandle*)it->hAddr == pMsgHandle && it->port == port && it->pfIncomingCB == pfNewMessage) {
MSG_DEBUG("msg_sms_incoming_cb() callback : Port Number [%d] is already registered!!!", port);
return false;
}
for (; it != newMMSConfMessageCBList.end(); it++)
{
- if (it->hAddr == pMsgHandle && it->pfMMSConfIncomingCB == pfNewMMSConfMessage) {
+ if ((MsgHandle*)it->hAddr == pMsgHandle && it->pfMMSConfIncomingCB == pfNewMMSConfMessage) {
if(pAppId == NULL) {
MSG_DEBUG("msg_mms_conf_msg_incoming_cb() callback is already registered!!!");
for (; it != newPushMessageCBList.end(); it++)
{
- if (it->hAddr == pMsgHandle && it->pfPushIncomingCB == pfNewPushMessage) {
+ if ((MsgHandle*)it->hAddr == pMsgHandle && it->pfPushIncomingCB == pfNewPushMessage) {
if(pAppId == NULL) {
MSG_DEBUG("msg_push_msg_incoming_cb() callback is already registered!!!");
for (; it != newCBMessageCBList.end(); it++)
{
- if (it->hAddr == pMsgHandle && it->pfCBIncomingCB == pfNewCBMessage) {
+ if ((MsgHandle*)it->hAddr == pMsgHandle && it->pfCBIncomingCB == pfNewCBMessage) {
MSG_DEBUG("msg_CB_incoming_cb() callback : [%p] is already registered!!!", pfNewCBMessage);
it->bsave = bSave;
it->userParam = pUserParam;
for (; it != reportMessageCBList.end(); it++)
{
- if (it->hAddr == pMsgHandle && it->pfReportMsgIncomingCB == pfReportMessage) {
+ if ((MsgHandle*)it->hAddr == pMsgHandle && it->pfReportMsgIncomingCB == pfReportMessage) {
MSG_DEBUG("msg_report_msg_incoming_cb() callback : [%p] is already registered!!!", pfReportMessage);
it->userParam = pUserParam;
return false;
for (; it != newSyncMLMessageCBList.end(); it++)
{
- if (it->hAddr == pMsgHandle && it->pfSyncMLIncomingCB == pfNewSyncMLMessage) {
+ if ((MsgHandle*)it->hAddr == pMsgHandle && it->pfSyncMLIncomingCB == pfNewSyncMLMessage) {
MSG_DEBUG("msg_syncml_msg_incoming_cb() callback : [%p] is already registered!!!", pfNewSyncMLMessage);
return false;
}
for (; it != newLBSMessageCBList.end(); it++)
{
- if (it->hAddr == pMsgHandle && it->pfLBSMsgIncoming == pfNewLBSMsgIncoming) {
+ if ((MsgHandle*)it->hAddr == pMsgHandle && it->pfLBSMsgIncoming == pfNewLBSMsgIncoming) {
MSG_DEBUG("msg_lbs_msg_incoming_cb() callback : [%p] is already registered!!!", pfNewLBSMsgIncoming);
return false;
}
for (; it != operationSyncMLMessageCBList.end(); it++)
{
- if (it->hAddr == pMsgHandle && it->pfSyncMLOperationCB == pfSyncMLMessageOperation) {
+ if ((MsgHandle*)it->hAddr == pMsgHandle && it->pfSyncMLOperationCB == pfSyncMLMessageOperation) {
MSG_DEBUG("msg_syncml_msg_incoming_cb() callback : [%p] is already registered!!!", pfSyncMLMessageOperation);
return false;
}
for (; it != storageChangeCBList.end(); it++)
{
- if (it->hAddr == pMsgHandle && it->pfStorageChangeCB == pfStorageChangeOperation) {
+ if ((MsgHandle*)it->hAddr == pMsgHandle && it->pfStorageChangeCB == pfStorageChangeOperation) {
MSG_DEBUG("msg_storage_change_cb() callback : [%p] is already registered!!!", pfStorageChangeOperation);
return false;
}
for (; it != sentStatusCBList.end(); )
{
- if (it->hAddr == pMsgHandle)
+ if ((MsgHandle*)it->hAddr == pMsgHandle)
{
sentStatusCBList.erase(it++);
for( ; it != sentStatusCBList.end() ; it++)
{
- MsgHandle* pHandle = it->hAddr;
+ MsgHandle* pHandle = (MsgHandle*)it->hAddr;
msg_sent_status_cb pfunc = it->pfSentStatusCB;
for( ; it != matchList.end(); it++ )
{
- MsgHandle* pHandle = it->hAddr;
+ MsgHandle* pHandle = (MsgHandle*)it->hAddr;
MSG_MESSAGE_HIDDEN_S msgHidden = {0,};
for( ; it != matchList.end() ; it++)
{
- MsgHandle* pHandle = it->hAddr;
+ MsgHandle* pHandle = (MsgHandle*)it->hAddr;
MSG_MESSAGE_HIDDEN_S msgHidden = {0,};
for( ; it != newSyncMLMessageCBList.end() ; it++)
{
- MsgHandle* pHandle = it->hAddr;
+ MsgHandle* pHandle = (MsgHandle*)it->hAddr;
msg_syncml_msg_incoming_cb pfunc = it->pfSyncMLIncomingCB;
for( ; it != newLBSMessageCBList.end() ; it++)
{
- MsgHandle* pHandle = it->hAddr;
+ MsgHandle* pHandle = (MsgHandle*)it->hAddr;
msg_lbs_msg_incoming_cb pfunc = it->pfLBSMsgIncoming;
for( ; it != operationSyncMLMessageCBList.end() ; it++)
{
- MsgHandle* pHandle = it->hAddr;
+ MsgHandle* pHandle = (MsgHandle*)it->hAddr;
msg_syncml_msg_operation_cb pfunc = it->pfSyncMLOperationCB;
for( ; it != storageChangeCBList.end() ; it++)
{
- MsgHandle* pHandle = it->hAddr;
+ MsgHandle* pHandle = (MsgHandle*)it->hAddr;
msg_storage_change_cb pfunc = it->pfStorageChangeCB;
for( ; it != newCBMessageCBList.end() ; it++)
{
- MsgHandle* pHandle = it->hAddr;
+ MsgHandle* pHandle = (MsgHandle*)it->hAddr;
msg_struct_s msg = {0,};
msg.type = MSG_STRUCT_CB_MSG;
for( ; it != newPushMessageCBList.end() ; it++)
{
- MsgHandle* pHandle = it->hAddr;
+ MsgHandle* pHandle = (MsgHandle*)it->hAddr;
msg_push_msg_incoming_cb pfunc = it->pfPushIncomingCB;
for( ; it != reportMessageCBList.end() ; it++)
{
- MsgHandle* pHandle = it->hAddr;
+ MsgHandle* pHandle = (MsgHandle*)it->hAddr;
msg_report_msg_incoming_cb pfunc = it->pfReportMsgIncomingCB;