about summary refs log tree commit diff stats
path: root/WWW/Library/Implementation/HTFTP.c
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>2000-02-15 04:10:19 -0500
committerThomas E. Dickey <dickey@invisible-island.net>2000-02-15 04:10:19 -0500
commit383b3f2ddbc1e2b64996958c1d9d944979fd190b (patch)
tree5c448e24f1b69593713b31529d1bdedf39a22a9d /WWW/Library/Implementation/HTFTP.c
parentd61bc4e56055c372ab0b8d027f376c2f4a2ecfff (diff)
downloadlynx-snapshots-383b3f2ddbc1e2b64996958c1d9d944979fd190b.tar.gz
snapshot of project "lynx", label v2-8-3dev_19
Diffstat (limited to 'WWW/Library/Implementation/HTFTP.c')
-rw-r--r--WWW/Library/Implementation/HTFTP.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/WWW/Library/Implementation/HTFTP.c b/WWW/Library/Implementation/HTFTP.c
index cd6d5b57..20cafe2e 100644
--- a/WWW/Library/Implementation/HTFTP.c
+++ b/WWW/Library/Implementation/HTFTP.c
@@ -1138,15 +1138,16 @@ PRIVATE int get_listen_socket NOARGS
 #ifndef SHORTENED_RBIND
 			,socks_bind_remoteAddr
 #endif /* !SHORTENED_RBIND */
-						)) == 0)
+						)) == 0) {
 		    break;
-	    else
+		} else
 #endif /* SOCKS */
 	    if ((status=bind(new_socket,
 		    (struct sockaddr*)&soc_address,
 			    /* Cast to generic sockaddr */
-		    sizeof(soc_address))) == 0)
+		    sizeof(soc_address))) == 0) {
 		break;
+	    }
 	    CTRACE((tfp, "TCP bind attempt to port %d yields %d, errno=%d\n",
 		port_number, status, SOCKET_ERRNO));
 	} /* for */
@@ -1433,6 +1434,7 @@ PRIVATE void parse_eplf_line ARGS2(
 		break;
 	    case '/':
 		StrAllocCopy(info->type, ENTRY_IS_DIRECTORY);
+		/* FALLTHRU */
 	    default:
 		while (*cp) {
 		    if (*cp++ == ',')
@@ -2851,9 +2853,6 @@ unload_btree:
 	_HTProgress(TRANSFER_INTERRUPTED);
     }
     return HT_LOADED;
-#ifdef NOTDEFINED
-    return response(NIL) == 2 ? HT_LOADED : -1;
-#endif /* NOTDEFINED */
 }
 
 /*	Retrieve File from Server