Skip to content

Commit cb5ffbc

Browse files
committed
clang-format
1 parent 42883bc commit cb5ffbc

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

.clang-format

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
BasedOnStyle: Google
2+
AllowShortFunctionsOnASingleLine: false
3+
SpaceAfterCStyleCast: true
4+
PointerBindsToType: false
5+
DerivePointerBinding: false

src/mgos_pppos.c

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -442,10 +442,13 @@ static err_t pppapi_do_ppp_set_auth(struct tcpip_api_call_data *m) {
442442
static void pppos_set_auth(ppp_pcb *pcb, u8_t authtype, const char *user,
443443
const char *passwd) {
444444
struct ppp_set_auth_arg auth_arg = {
445-
.authtype = authtype, .user = user, .passwd = passwd,
445+
.authtype = authtype,
446+
.user = user,
447+
.passwd = passwd,
446448
};
447449
struct pppapi_msg msg = {
448-
.msg.ppp = pcb, .msg.msg.ioctl.arg = &auth_arg,
450+
.msg.ppp = pcb,
451+
.msg.msg.ioctl.arg = &auth_arg,
449452
};
450453
tcpip_api_call(pppapi_do_ppp_set_auth, &msg.call);
451454
}

0 commit comments

Comments
 (0)