Permalink
Browse files

Make sure handle is passed in

  • Loading branch information...
1 parent 2011f1a commit 1b03d05c47529ceac7d7c58fb6a6e0768fffcef7 @mikeabdullah mikeabdullah committed Jul 10, 2011
Showing with 2 additions and 0 deletions.
  1. +2 −0 CK2SFTPFileHandle.m
View
@@ -15,6 +15,8 @@ @implementation CK2SFTPFileHandle
- (id)initWithSFTPHandle:(LIBSSH2_SFTP_HANDLE *)handle session:(CK2SFTPSession *)session path:(NSString *)path;
{
+ NSParameterAssert(handle);
+
if (self = [self init])
{
_handle = handle;

0 comments on commit 1b03d05

Please sign in to comment.