www.libssh2.org | Daily snapshots | Mailing list archive | Docs | Examples | github

Archive Index This month's Index

Subject: [PATCH] Added LIBSSH2_ERROR_EAGAIN tests to nonblocking examples.

[PATCH] Added LIBSSH2_ERROR_EAGAIN tests to nonblocking examples.

From: Marta <marta.m.batlle_at_gmail.com>
Date: Tue, 22 May 2012 12:40:49 +0200

Hi again,

I've made the patch for all the nonblocking examples. Basically, I've
checked the libssh2 calls on each program and, if they can return
EAGAIN, make it loop until the return code is other than EAGAIN.

This is my first patch so please tell me if I did something wrong :)

Thanks.

--
Marta


_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

Received on 2012-05-22

the libssh2 team