patch-2.3.48 linux/net/decnet/af_decnet.c
Next file: linux/net/ipv4/af_inet.c
Previous file: linux/net/core/dev.c
Back to the patch index
Back to the overall index
-  Lines: 10
-  Date:
Thu Feb 24 22:14:47 2000
-  Orig file: 
v2.3.47/linux/net/decnet/af_decnet.c
-  Orig date: 
Sat Feb 12 11:22:11 2000
diff -u --recursive --new-file v2.3.47/linux/net/decnet/af_decnet.c linux/net/decnet/af_decnet.c
@@ -1837,7 +1837,8 @@
 	scp->persist_fxn = dn_nsp_xmit_timeout;
 
 	while(sent < size) {
-		if ((err = sock_error(sk) != 0))
+		err = sock_error(sk);
+		if (err)
 			goto out;
 
 		if (signal_pending(current)) {
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)