aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPServerSupport.m
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2011-10-20 22:42:41 +0000
committerrowanbeentje <rowan@beent.je>2011-10-20 22:42:41 +0000
commit57fd5f88863ffec21159f132670efac343c5d48d (patch)
tree48c4f8c432dab3c025fc765785bc9877f192ef2e /Source/SPServerSupport.m
parenta60219ad6b0d6988635f6cde44a6c6335872f439 (diff)
downloadsequelpro-57fd5f88863ffec21159f132670efac343c5d48d.tar.gz
sequelpro-57fd5f88863ffec21159f132670efac343c5d48d.tar.bz2
sequelpro-57fd5f88863ffec21159f132670efac343c5d48d.zip
- Fix two incorrect initialisations; thanks to sqlprodev for spotting these
Diffstat (limited to 'Source/SPServerSupport.m')
-rw-r--r--Source/SPServerSupport.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/SPServerSupport.m b/Source/SPServerSupport.m
index 937069f8..3d38ff79 100644
--- a/Source/SPServerSupport.m
+++ b/Source/SPServerSupport.m
@@ -82,7 +82,7 @@
*/
- (id)initWithMajorVersion:(NSInteger)majorVersion minor:(NSInteger)minorVersion release:(NSInteger)releaseVersion
{
- if ((self == [super init])) {
+ if ((self = [super init])) {
serverMajorVersion = majorVersion;
serverMinorVersion = minorVersion;