On Wed, 6 Jan 2010, Daiki Ueno wrote:

   if (connect(sock, (struct sockaddr*)(&sin),
               sizeof(struct sockaddr_in)) != 0) {
       fprintf(stderr, "failed to connect!\n");
       return -1;
   }

in main() of ssh2.c.

Oh, right. We should fix those even though I consider those mistakes rather minor as they are only examples...

--

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

Reply via email to