summaryrefslogtreecommitdiff
path: root/xfindproxy.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2013-09-05 23:41:54 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2013-09-05 23:52:04 -0700
commitb6952a032618af81238050de1e8f21da66546f55 (patch)
tree25ff279176ef31238ecc31d8e188e58fa31f6b4a /xfindproxy.c
parent43ac18d7189f149d41f46bbd9d9d40d48687ad14 (diff)
Mark input string to cvthexkey() as const
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'xfindproxy.c')
-rw-r--r--xfindproxy.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/xfindproxy.c b/xfindproxy.c
index 5795327..18b1968 100644
--- a/xfindproxy.c
+++ b/xfindproxy.c
@@ -68,11 +68,12 @@ typedef struct {
static int
-cvthexkey(char *hexstr, char **ptrp) /* turn hex key string into octets */
+cvthexkey(const char *hexstr, char **ptrp) /* turn hex key string into octets */
{
int i;
int len = 0;
- char *retval, *s;
+ char *retval;
+ const char *s;
unsigned char *us;
char c;
char savec = '\0';