connectivitymodules/SeCon/services/pcd/src/sconqueue.cpp
branchRCL_3
changeset 1 f8e15b44d440
parent 0 d0791faffa3f
--- a/connectivitymodules/SeCon/services/pcd/src/sconqueue.cpp	Tue Feb 02 01:11:40 2010 +0200
+++ b/connectivitymodules/SeCon/services/pcd/src/sconqueue.cpp	Fri Feb 19 23:40:44 2010 +0200
@@ -265,7 +265,17 @@
             
             default :
                 iQueue[index]->SetCompleteValue( complete );
-                progress = KSConCodeConflict;
+                if ( aError < KErrNone && aError >= KErrCorruptSurrogateFound )
+                    {
+                    // aError is always negative
+                    //  -> returned errorcode is from KSConCodeFirstSymbianErr...n
+                    progress = KSConCodeFirstSymbianErr - aError;
+                    }
+                else
+                    {
+                    progress = KSConCodeConflict;
+                    }
+                
                 break;
             }