diff options
author | stuconnolly <stuart02@gmail.com> | 2010-08-16 19:17:02 +0000 |
---|---|---|
committer | stuconnolly <stuart02@gmail.com> | 2010-08-16 19:17:02 +0000 |
commit | a2be99d0a3d2f6540827d6b8a8f3cd2545672bb8 (patch) | |
tree | c8db10f9db31a5b9bd1efb58e9fa47ac29be5085 /Source/SPExportInitializer.m | |
parent | 37e7a952eebd25515bb3ee9d85898a5a984f9d21 (diff) | |
download | sequelpro-a2be99d0a3d2f6540827d6b8a8f3cd2545672bb8.tar.gz sequelpro-a2be99d0a3d2f6540827d6b8a8f3cd2545672bb8.tar.bz2 sequelpro-a2be99d0a3d2f6540827d6b8a8f3cd2545672bb8.zip |
Fix release and dist builds.
Diffstat (limited to 'Source/SPExportInitializer.m')
-rw-r--r-- | Source/SPExportInitializer.m | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Source/SPExportInitializer.m b/Source/SPExportInitializer.m index 1e5c845e..cc9aa16e 100644 --- a/Source/SPExportInitializer.m +++ b/Source/SPExportInitializer.m @@ -397,10 +397,8 @@ // Create the actual file handles while dealing with errors (e.g. file already exists, etc) during creation for (SPExportFile *exportFile in exportFiles) - { - SPExportFileHandleStatus status = [exportFile createExportFileHandle:NO]; - - if (status == SPExportFileHandleCreated) { + { + if ([exportFile createExportFileHandle:NO] == SPExportFileHandleCreated) { if ([exportFile exportFileNeedsCSVHeader]) { [self writeCSVHeaderToExportFile:exportFile]; } |