blob: 9f059cef3309262e532279583c14163bef7d6db6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
diff -NrU5 ezbounce-1.04c.original/lib/general.cpp ezbounce-1.04c/lib/general.cpp
--- ezbounce-1.04c.original/lib/general.cpp 2009-08-08 18:50:44.000000000 -0600
+++ ezbounce-1.04c/lib/general.cpp 2009-08-08 18:55:30.000000000 -0600
@@ -366,11 +366,11 @@
while (*p == sep)
p++;
do {
if (numfound == which && *p)
{
- char * next = strchr(p, sep);
+ const char * next = strchr(p, sep);
if ((get_rest && buffer) || (!next /* && *(p+1) */) )
{
if (buffer)
safe_strcpy(buffer, p, maxsize);
return 1;
diff -NrU5 ezbounce-1.04c.original/mdidentd/identd.cpp ezbounce-1.04c/mdidentd/identd.cpp
--- ezbounce-1.04c.original/mdidentd/identd.cpp 2009-08-08 18:50:44.000000000 -0600
+++ ezbounce-1.04c/mdidentd/identd.cpp 2009-08-08 19:00:08.000000000 -0600
@@ -739,11 +739,11 @@
while (*p == sep)
p++;
do {
if (numfound == which && *p)
{
- char * next = strchr(p, sep);
+ const char * next = strchr(p, sep);
if ((get_rest && buffer) || (!next /* && *(p+1) */) )
{
if (buffer)
safe_strcpy(buffer, p, maxsize);
return 1;
|