Attention is currently required from: Arne Schwabe.

Hello Arne Schwabe,

I'd like you to do a code review.
Please visit

    https://gerrit.openvpn.net/c/openvpn/+/2094?usp=email

to review the following change.


Change subject: manage: use man argument in management_query_cert()
......................................................................

manage: use man argument in management_query_cert()

It passed the global management to
management_query_multiline_flatten_newline() while using its man
argument for the state and input buffers. No functional change, the
only caller passes the global.

Change-Id: Ifc12dafe9621ca00dc0022ad426afebcf38fbc3b
Signed-off-by: Razvan Cojocaru <[email protected]>
---
M src/openvpn/manage.c
1 file changed, 2 insertions(+), 2 deletions(-)



  git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/94/2094/1

diff --git a/src/openvpn/manage.c b/src/openvpn/manage.c
index 16864c8..d391559 100644
--- a/src/openvpn/manage.c
+++ b/src/openvpn/manage.c
@@ -3937,8 +3937,8 @@

     char *result;
     result = management_query_multiline_flatten_newline(
-        management, NULL, (char *)buf_bptr(&buf_prompt), "certificate",
-        &man->connection.ext_cert_state, &man->connection.ext_cert_input);
+        man, NULL, (char *)buf_bptr(&buf_prompt), "certificate", 
&man->connection.ext_cert_state,
+        &man->connection.ext_cert_input);
     free_buf(&buf_prompt);
     return result;
 }

--
To view, visit https://gerrit.openvpn.net/c/openvpn/+/2094?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.openvpn.net/settings?usp=email

Gerrit-MessageType: newchange
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Ifc12dafe9621ca00dc0022ad426afebcf38fbc3b
Gerrit-Change-Number: 2094
Gerrit-PatchSet: 1
Gerrit-Owner: Răzvan Cojocaru <[email protected]>
Gerrit-Reviewer: Arne Schwabe <[email protected]>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: Arne Schwabe <[email protected]>
_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Reply via email to