port: Fix coding style.
We always but braces around 'if' blocks. Signed-off-by: Richard Cochran <richardcochran@gmail.com>master
parent
8ecdedaa69
commit
d34d253fb4
3
port.c
3
port.c
|
@ -2429,8 +2429,9 @@ int port_prepare_and_send(struct port *p, struct ptp_message *msg, int event)
|
||||||
{
|
{
|
||||||
int cnt;
|
int cnt;
|
||||||
|
|
||||||
if (msg_pre_send(msg))
|
if (msg_pre_send(msg)) {
|
||||||
return -1;
|
return -1;
|
||||||
|
}
|
||||||
if (msg->header.flagField[0] & UNICAST) {
|
if (msg->header.flagField[0] & UNICAST) {
|
||||||
cnt = transport_sendto(p->trp, &p->fda, event, msg);
|
cnt = transport_sendto(p->trp, &p->fda, event, msg);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue