]> www.infradead.org Git - users/dwmw2/openconnect.git/commitdiff
Fix Linux kernel coding style warning
authorDimitri Papadopoulos <3350651-DimitriPapadopoulos@users.noreply.gitlab.com>
Sat, 17 Jul 2021 08:51:40 +0000 (10:51 +0200)
committerDimitri Papadopoulos <3350651-DimitriPapadopoulos@users.noreply.gitlab.com>
Mon, 19 Jul 2021 04:37:45 +0000 (06:37 +0200)
quoted string split across lines

Signed-off-by: Dimitri Papadopoulos <3350651-DimitriPapadopoulos@users.noreply.gitlab.com>
auth-juniper.c
auth.c

index b8be3d2b0871de2ee36ab0fdd0fa697e1158708f..04f6fe829cebbe6d99bc989ef4d0d91778ae934e 100644 (file)
@@ -318,15 +318,13 @@ static int tncc_preauth(struct openconnect_info *vpninfo)
                        goto respfail;
                if (len > 0)
                        vpn_progress(vpninfo, PRG_DEBUG,
-                                    _("Unexpected non-empty line from TNCC "
-                                      "after DSPREAUTH cookie: '%s'\n"),
+                                    _("Unexpected non-empty line from TNCC after DSPREAUTH cookie: '%s'\n"),
                                     recvbuf);
        } while (len && (count++ < 10));
 
        if (len > 0) {
                vpn_progress(vpninfo, PRG_ERR,
-                            _("Too many non-empty lines from TNCC after "
-                              "DSPREAUTH cookie\n"));
+                            _("Too many non-empty lines from TNCC after DSPREAUTH cookie\n"));
                goto respfail;
        }
 
diff --git a/auth.c b/auth.c
index a77e09792243ab44eaa85128a6e1991271763171..70b65d8ed2cb33fad859d9f23a153dabdc26583f 100644 (file)
--- a/auth.c
+++ b/auth.c
@@ -1200,8 +1200,7 @@ static int run_csd_script(struct openconnect_info *vpninfo, char *buf, int bufle
                 if (set_csd_user(vpninfo) < 0)
                         exit(1);
                 if (getuid() == 0 && !vpninfo->csd_wrapper) {
-                        fprintf(stderr, _("Warning: you are running insecure "
-                                          "CSD code with root privileges\n"
+                        fprintf(stderr, _("Warning: you are running insecure CSD code with root privileges\n"
                                           "\t Use command line option \"--csd-user\"\n"));
                 }
                 /*