commondrm/drmutility/src/rdrmhelperclient.cpp
changeset 84 b09186059647
parent 23 493788a4a8a4
equal deleted inserted replaced
82:a117e284a2c6 84:b09186059647
    77 //
    77 //
    78 TInt RDrmHelperClient::Connect()
    78 TInt RDrmHelperClient::Connect()
    79     {
    79     {
    80     TInt error = StartServer();
    80     TInt error = StartServer();
    81 
    81 
    82     if ( !error )
    82     if ( !error || error == KErrAlreadyExists )
    83         {
    83         {
       
    84         error = KErrNone;    
    84         error = CreateSession( KDRMHelperServerName,
    85         error = CreateSession( KDRMHelperServerName,
    85                                Version(),
    86                                Version(),
    86                                KDefaultMessageSlots );
    87                                KDefaultMessageSlots );
    87         }
    88         }
    88     return error;
    89     return error;