Skip to contentSkip to conversation

cleancode: add space around '&'

PATCH New Kemeng Shi 1 participant 1 message May 4, 2021

Subsystems (3)
lore
Share & tools
lore

Kemeng Shi

author
#0 lore raw

PATCH 1/1 cleancode: add space around '&'

add space around '&'

---
 net/unix/af_unix.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
net/unix/af_unix.c +1 -1
index 5a31307ceb76..c0808dd19e98 100644
@@ -1635,7 +1635,7 @@ static int unix_dgram_sendmsg(struct socket *sock, struct msghdr *msg,
 		return err;
 
 	err = -EOPNOTSUPP;
-	if (msg->msg_flags&MSG_OOB)
+	if (msg->msg_flags & MSG_OOB)
 		goto out;
 
 	if (msg->msg_namelen) {
Signature · 5 lines
2.23.0

-- 
Best wishes
Kemeng Shi