diff options
author | Seiichirou Hiraoka <flathill@FreeBSD.org> | 1999-05-05 14:03:29 +0000 |
---|---|---|
committer | Seiichirou Hiraoka <flathill@FreeBSD.org> | 1999-05-05 14:03:29 +0000 |
commit | 6e127853a75eacff0ab013f248a022fd1fb7fac1 (patch) | |
tree | d4887d2e70b0e19c972f6bec9ba370f119feb736 /ftp/pavuk/files/patch-ab | |
parent | Add icqlib (diff) |
Update to 0.9pl11
PR: ports/11496
Submitted by: cpiazza@home.net
Notes
Notes:
svn path=/head/; revision=18501
Diffstat (limited to '')
-rw-r--r-- | ftp/pavuk/files/patch-ab | 32 |
1 files changed, 11 insertions, 21 deletions
diff --git a/ftp/pavuk/files/patch-ab b/ftp/pavuk/files/patch-ab index 1380df0a7dc2..13348e776bcc 100644 --- a/ftp/pavuk/files/patch-ab +++ b/ftp/pavuk/files/patch-ab @@ -1,5 +1,5 @@ ---- src/net.c.orig Sun Apr 18 06:53:46 1999 -+++ src/net.c Wed Apr 21 22:44:24 1999 +--- src/net.c.orig Tue May 4 13:20:43 1999 ++++ src/net.c Tue May 4 13:22:13 1999 @@ -101,9 +101,9 @@ { return -1; @@ -12,25 +12,15 @@ rv = connect(sock, (struct sockaddr*)&addr, sizeof(addr)); if (rv && (errno != EINPROGRESS) && (errno != EISCONN)) { -@@ -121,8 +121,8 @@ - #endif +@@ -267,9 +267,9 @@ + int rv; - #ifdef GTK_FACE -- cfg.gtk.inid = gtk_timeout_add(cfg.ctimeout * 60000 , -- (GtkFunction)TOut , NULL); -+ cfg.gtk.inid = cfg.ctimeout ? gtk_timeout_add(cfg.ctimeout * 60000 , -+ (GtkFunction)TOut , NULL) : 0; - #endif - - -@@ -261,8 +261,9 @@ - #ifdef I_FACE - if (cfg.xi_face) - { -+#ifndef __FreeBSD__ - fcntl(sock , F_SETFL , O_NONBLOCK); + p = sizeof(caller); +- ++#ifdef __FreeBSD__ + fcntl(sock , F_SETFL , O_NONBLOCK); - +#endif - rsock = accept(sock, (struct sockaddr*)&caller, &p); - if ((rsock < 0) && (errno != EWOULDBLOCK)) - { + rsock = accept(sock, (struct sockaddr*)&caller, &p); + if ((rsock < 0) && (errno != EWOULDBLOCK)) + { |