summaryrefslogtreecommitdiff
path: root/plugins/opcua/opcua_servicetable.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/opcua/opcua_servicetable.c')
-rw-r--r--plugins/opcua/opcua_servicetable.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/plugins/opcua/opcua_servicetable.c b/plugins/opcua/opcua_servicetable.c
index 1b62c99045..1d39ca5fc1 100644
--- a/plugins/opcua/opcua_servicetable.c
+++ b/plugins/opcua/opcua_servicetable.c
@@ -3,15 +3,15 @@
**
** Copyright (C) 2006-2009 ascolab GmbH. All Rights Reserved.
** Web: http://www.ascolab.com
-**
+**
** This program is free software; you can redistribute it and/or
** modify it under the terms of the GNU General Public License
** as published by the Free Software Foundation; either version 2
** of the License, or (at your option) any later version.
-**
+**
** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
-**
+**
** Project: OpcUa Wireshark Plugin
**
** Description: Service table and service dispatcher.
@@ -197,16 +197,16 @@ const value_string g_requesttypes[] = {
/** Dispatch all services to a special parser function. */
void dispatchService(proto_tree *tree, tvbuff_t *tvb, gint *pOffset, int ServiceId)
{
- int index = 0;
+ int indx = 0;
- while (index < g_NumServices)
+ while (indx < g_NumServices)
{
- if (g_arParserTable[index].iRequestId == ServiceId)
+ if (g_arParserTable[indx].iRequestId == ServiceId)
{
- (*g_arParserTable[index].pParser)(tree, tvb, pOffset);
+ (*g_arParserTable[indx].pParser)(tree, tvb, pOffset);
break;
}
- index++;
+ indx++;
}
}