vpnengine/ikev1lib/src/ikev1dialog.cpp
branchRCL_3
changeset 41 e06095241a65
parent 40 473321461bba
child 46 29c8f9bc68e1
--- a/vpnengine/ikev1lib/src/ikev1dialog.cpp	Tue Aug 31 16:14:16 2010 +0300
+++ b/vpnengine/ikev1lib/src/ikev1dialog.cpp	Wed Sep 01 12:23:21 2010 +0100
@@ -189,12 +189,9 @@
     if ( iCallback )
 	{
 		TInt err;
-		TRAP(err, delete_obj = iCallback->DialogCompleteL(this, iUserInfo,
-								                          un_bfr,               //User name
-			                                              pw_bfr,               //Password
-			                                              NULL));               //domain
-	    delete un_bfr; 
-	    delete pw_bfr;
+		TRAP(err, delete_obj = iCallback->DialogCompleteL(
+		    iUserInfo, un_bfr, pw_bfr));
+	    
 	    if ( err != KErrNone )
 		  delete_obj = 1;
     }
@@ -607,11 +604,9 @@
     {
 		TInt err;
 		DEBUG_LOG2(_L("Calling DialogCompleteL(), UserInfo = %x, Callback = %x"), (TUint32)iDialog->UserInfo(), (TUint32)Callback);					
-        TRAP(err, delete_dialog = Callback->DialogCompleteL(iDialog,
-                                                            iDialog->UserInfo(),
-                                                            NULL,               //User name
-                                                            NULL,               //Password
-                                                            NULL));             //domain
+        TRAP(err, delete_dialog = Callback->DialogCompleteL(
+            iDialog->UserInfo(), NULL, NULL));
+
 		DEBUG_LOG2(_L("DialogCompleteL() completed, err = %d, delete_dialog = %d"), err, delete_dialog);			
 		if ( err != KErrNone )
 			delete_dialog = 1;