Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern flip (NULL == addr) to (addr == NULL) use in condit...
details: https://anonhg.NetBSD.org/src/rev/9f6d4a61ccd7
branches: trunk
changeset: 337907:9f6d4a61ccd7
user: rtr <rtr%NetBSD.org@localhost>
date: Sun May 03 04:18:45 2015 +0000
description:
flip (NULL == addr) to (addr == NULL) use in conditional from previous
commit.
diffstat:
sys/kern/uipc_socket.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 0567e324e1b0 -r 9f6d4a61ccd7 sys/kern/uipc_socket.c
--- a/sys/kern/uipc_socket.c Sun May 03 02:55:04 2015 +0000
+++ b/sys/kern/uipc_socket.c Sun May 03 04:18:45 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: uipc_socket.c,v 1.243 2015/05/02 23:46:04 rtr Exp $ */
+/* $NetBSD: uipc_socket.c,v 1.244 2015/05/03 04:18:45 rtr Exp $ */
/*-
* Copyright (c) 2002, 2007, 2008, 2009 The NetBSD Foundation, Inc.
@@ -71,7 +71,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uipc_socket.c,v 1.243 2015/05/02 23:46:04 rtr Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uipc_socket.c,v 1.244 2015/05/03 04:18:45 rtr Exp $");
#include "opt_compat_netbsd.h"
#include "opt_sock_counters.h"
@@ -941,7 +941,7 @@
error = ENOTCONN;
goto release;
}
- } else if (NULL == addr) {
+ } else if (addr == NULL) {
error = EDESTADDRREQ;
goto release;
}
Home |
Main Index |
Thread Index |
Old Index