networkprotocolmodules/suplprotocolmodule/SuplProtocol/src/suplmolrfsmsession.cpp
equal
deleted
inserted
replaced
140 if (iSlpSettingsStore) |
140 if (iSlpSettingsStore) |
141 { |
141 { |
142 TLbsHostSettingsSupl slpSettings; |
142 TLbsHostSettingsSupl slpSettings; |
143 TLbsHostSettingsId settingsId; |
143 TLbsHostSettingsId settingsId; |
144 // Get the default SLP if one exists |
144 // Get the default SLP if one exists |
|
145 // jcm |
145 err = iSlpSettingsStore->GetDefaultHostSettings(slpSettings, settingsId); |
146 err = iSlpSettingsStore->GetDefaultHostSettings(slpSettings, settingsId); |
146 if (KErrNone == err) |
147 if (KErrNone == err) |
147 { |
148 { |
|
149 TLbsHostNameAddress hostNameAddress; |
|
150 slpSettings.GetHostNameAddress(hostNameAddress); |
|
151 //TBuf<128> name; |
|
152 //name.Copy(hostNameAddress); |
|
153 SUPLLOG2_L8(ELogP1, "Host name address = %S\n", &hostNameAddress); |
|
154 |
|
155 TLbsHostName hostName; |
|
156 slpSettings.GetName(hostName); |
|
157 //name.Copy(hostName); |
|
158 SUPLLOG2_L8(ELogP1, "Host name = %S\n", &hostName); |
|
159 |
|
160 SUPLLOG2(ELogP1, "SettingsId=%d\n",settingsId.iUid ); |
|
161 |
|
162 |
148 aHostId = settingsId; |
163 aHostId = settingsId; |
149 hostFound = ETrue; |
164 hostFound = ETrue; |
150 } |
165 } |
151 else |
166 else |
152 { |
167 { |