From a433ccb9b6ddc8de78d06629356d77e657fbc137 Mon Sep 17 00:00:00 2001 From: Bibiko Date: Thu, 18 Jun 2009 09:55:27 +0000 Subject: =?UTF-8?q?=E2=80=A2=20added:=20init=20consoleLoggingEnabled:=20fo?= =?UTF-8?q?r=20new=20connection?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Source/CMMCPConnection.m | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Source/CMMCPConnection.m b/Source/CMMCPConnection.m index 18d89e8b..b976c3a7 100644 --- a/Source/CMMCPConnection.m +++ b/Source/CMMCPConnection.m @@ -278,6 +278,9 @@ static void forcePingTimeout(int signalNumber); [[NSUserDefaults standardUserDefaults] addObserver:self forKeyPath:@"ConsoleEnableLogging" options:NSKeyValueObservingOptionNew context:NULL]; + // Init 'consoleLoggingEnabled' + consoleLoggingEnabled = [[NSUserDefaults standardUserDefaults] boolForKey:@"ConsoleEnableLogging"]; + return mConnected; } -- cgit v1.2.3