diff options
Diffstat (limited to 'Frameworks')
-rw-r--r-- | Frameworks/SPMySQLFramework/Source/SPMySQLConnection.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Frameworks/SPMySQLFramework/Source/SPMySQLConnection.m b/Frameworks/SPMySQLFramework/Source/SPMySQLConnection.m index 4f1e8a74..6308a3f5 100644 --- a/Frameworks/SPMySQLFramework/Source/SPMySQLConnection.m +++ b/Frameworks/SPMySQLFramework/Source/SPMySQLConnection.m @@ -656,7 +656,7 @@ const char *SPMySQLSSLPermissibleCiphers = "DHE-RSA-AES256-SHA:AES256-SHA:DHE-RS // If set to use a socket and a socket was supplied, use it; otherwise, search for a socket to use if (useSocket) { - if (socketPath) { + if ([socketPath length]) { theSocket = [self _cStringForString:socketPath]; } else { theSocket = [self _cStringForString:[SPMySQLConnection findSocketPath]]; |