[XS] Change in openvpn[master]: openvpnmsica: Fix setting of iTicks in schedule_adapter_delete
"cron2 (Code Review)" <[email protected]>
| Newsgroups | gmane.network.openvpn.devel |
|---|---|
| Message-ID | <[email protected]> |
cron2 has submitted this change. ( http://gerrit.openvpn.net/c/openvpn/+/1608?usp=email ) Change subject: openvpnmsica: Fix setting of iTicks in schedule_adapter_delete ...................................................................... openvpnmsica: Fix setting of iTicks in schedule_adapter_delete Increase the integer, not the pointer. Found by cppcheck. Change-Id: I4d6501ddfb321f57a76841f29ff92c5a412908bb Signed-off-by: Frank Lichtenheld <[email protected]> Acked-by: Gert Doering <[email protected]> Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1608 Message-Id: <[email protected]> URL: https://www.mail-archive.com/[email protected]/msg36476.html Signed-off-by: Gert Doering <[email protected]> --- M src/openvpnmsica/openvpnmsica.c 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/openvpnmsica/openvpnmsica.c b/src/openvpnmsica/openvpnmsica.c index a145b64..fdb610c 100644 --- a/src/openvpnmsica/openvpnmsica.c +++ b/src/openvpnmsica/openvpnmsica.c @@ -613,7 +613,7 @@ msica_arg_seq_add_tail(seq, szArgument); } - iTicks += MSICA_ADAPTER_TICK_SIZE; + *iTicks += MSICA_ADAPTER_TICK_SIZE; break; /* Adapter names are unique. There should be no other adapter with this name. */ } } -- To view, visit http://gerrit.openvpn.net/c/openvpn/+/1608?usp=email To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings?usp=email Gerrit-MessageType: merged Gerrit-Project: openvpn Gerrit-Branch: master Gerrit-Change-Id: I4d6501ddfb321f57a76841f29ff92c5a412908bb Gerrit-Change-Number: 1608 Gerrit-PatchSet: 2 Gerrit-Owner: flichtenheld <[email protected]> Gerrit-Reviewer: cron2 <[email protected]> Gerrit-Reviewer: plaisthos <[email protected]> Gerrit-CC: openvpn-devel <[email protected]> _______________________________________________ Openvpn-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openvpn-devel