bluetoothengine/btnotif/btnotifsrv/src/btnotifpairnotifier.cpp
changeset 52 4545c04e61e1
parent 40 997690c3397a
child 57 5ebadcda06cb
--- a/bluetoothengine/btnotif/btnotifsrv/src/btnotifpairnotifier.cpp	Tue Jul 06 14:27:09 2010 +0300
+++ b/bluetoothengine/btnotif/btnotifsrv/src/btnotifpairnotifier.cpp	Wed Aug 18 09:59:05 2010 +0300
@@ -196,7 +196,7 @@
                 // in pairing manager for this device:
                 iParent.GetPinCode( pinCode, iRemote, iMinPinLength );
                 }
-            if ( pinCode().iLength != 0 )        
+            if ( pinCode().iLength > 0 )        
                 {
                 // a pin is ready for this pairing.
                 // write it back to client (stack)