locationmanager/ReverseGeocode/src/internalreversegeocode.cpp
changeset 40 910a23996aa0
parent 36 aa5a574040a4
child 43 c5e73110f733
--- a/locationmanager/ReverseGeocode/src/internalreversegeocode.cpp	Wed Jul 14 07:57:22 2010 +0300
+++ b/locationmanager/ReverseGeocode/src/internalreversegeocode.cpp	Fri Jul 23 10:03:59 2010 +0300
@@ -281,8 +281,8 @@
 // ---------------------------------------------------------------------------- 
 void CInternalReverseGeocode::ClientEvent( const THttpStatus& aEvent )
     {
-    LOG( "CInternalReverseGeocode::ClientEvent,begin" );
-    TInt err;
+    LOG1( "CInternalReverseGeocode::ClientEvent,begin. Err - %d", aEvent);
+    TInt err = KErrNone;
     //Have a Switch here
     switch( aEvent )
         {
@@ -319,6 +319,11 @@
             iObserver.ReverseGeocodeComplete( err , *iAddressInfo );
             break;
         }
+    if(err != KErrNone)
+        {
+        LOG("Error occur while getting data.");
+        StartTimer();
+        }
 	LOG( "CInternalReverseGeocode::ClientEvent,end" );
     }