aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-socks.c
diff options
context:
space:
mode:
authorJörg Mayer <jmayer@loplof.de>2005-08-05 00:23:22 +0000
committerJörg Mayer <jmayer@loplof.de>2005-08-05 00:23:22 +0000
commit69dcb66cd9d74b27f85a1dceca2735fd68732c1b (patch)
tree3c3e24728558c5082c714381cfbb089836bcdac2 /epan/dissectors/packet-socks.c
parent63728d5770c3eae2cbc2130454eca1188c8c12e5 (diff)
More char -> const char warning fixes
svn path=/trunk/; revision=15218
Diffstat (limited to 'epan/dissectors/packet-socks.c')
-rw-r--r--epan/dissectors/packet-socks.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/epan/dissectors/packet-socks.c b/epan/dissectors/packet-socks.c
index d0b12afcbc..84c79d18f1 100644
--- a/epan/dissectors/packet-socks.c
+++ b/epan/dissectors/packet-socks.c
@@ -181,7 +181,7 @@ typedef struct {
-static char *address_type_table[] = {
+static const char *address_type_table[] = {
"Unknown",
"IPv4",
"Unknown",
@@ -236,7 +236,7 @@ static GMemChunk *socks_vals = NULL;
static int display_string(tvbuff_t *tvb, int offset,
- proto_tree *tree, char *label){
+ proto_tree *tree, const char *label){
/* display a string with a length, characters encoding */
/* they are displayed under a tree with the name in Label variable */
@@ -269,7 +269,7 @@ static int display_string(tvbuff_t *tvb, int offset,
-static char *get_auth_method_name( guint Number){
+static const char *get_auth_method_name( guint Number){
/* return the name of the authenication method */
@@ -287,7 +287,7 @@ static char *get_auth_method_name( guint Number){
}
-static char *get_command_name( guint Number){
+static const char *get_command_name( guint Number){
/* return the name of the command as a string */