simplessh-rb 1.1.2 → 1.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. data/ext/simplessh/simplessh.c +1 -1
  2. metadata +4 -4
@@ -335,7 +335,7 @@ struct simplessh_either *simplessh_send_file(
335
335
  current = buf;
336
336
  // Ready to write n bytes to the channel
337
337
  while(n > 0) {
338
- rc = libssh2_channel_write(channel, current, n);
338
+ while((rc = libssh2_channel_write(channel, current, n)) == LIBSSH2_ERROR_EAGAIN);
339
339
  if(rc < 0) returnLocalErrorS(WRITE);
340
340
  n -= rc;
341
341
  current += rc;
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simplessh-rb
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
4
+ hash: 21
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 1
9
- - 2
10
- version: 1.1.2
9
+ - 3
10
+ version: 1.1.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Tom Feron
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2013-12-05 00:00:00 +00:00
18
+ date: 2013-12-11 00:00:00 +00:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency