0 | |
diff --git a/globus_gass_copy.h b/globus_gass_copy.h
|
1 | |
index 2f93cea3ff..5cad5cdf70 100644
|
2 | |
--- a/globus_gass_copy.h
|
3 | |
+++ b/globus_gass_copy.h
|
4 | |
@@ -648,7 +648,7 @@ typedef struct
|
5 | |
* The full url to the expanded entry. A directory entry will end
|
6 | |
* in a forward slash '/'.
|
7 | |
*
|
8 | |
- * @param stat
|
9 | |
+ * @param info_stat
|
10 | |
* A pointer to a globus_gass_copy_glob_stat_t containing information
|
11 | |
* about the entry.
|
12 | |
*
|
13 | |
diff --git a/globus_gass_copy_glob.c b/globus_gass_copy_glob.c
|
14 | |
index 5e287b55d2..e1717be61b 100644
|
15 | |
--- a/globus_gass_copy_glob.c
|
16 | |
+++ b/globus_gass_copy_glob.c
|
17 | |
@@ -526,7 +526,7 @@ globus_l_gass_copy_glob_expand_ftp_url(
|
18 | |
|
19 | |
info->base_url = globus_libc_strdup(info->url);
|
20 | |
tmp = strrchr(info->base_url, '/');
|
21 | |
- if(tmp == GLOBUS_NULL || tmp == '\0')
|
22 | |
+ if(tmp == GLOBUS_NULL || *tmp == '\0')
|
23 | |
{
|
24 | |
result = globus_error_put(
|
25 | |
globus_error_construct_string(
|
26 | |
@@ -942,7 +942,6 @@ globus_l_gass_copy_glob_parse_mlst_line(
|
27 | |
globus_result_t result;
|
28 | |
int i;
|
29 | |
char * space;
|
30 | |
- char * filename;
|
31 | |
char * startline;
|
32 | |
char * startfact;
|
33 | |
char * endfact;
|
34 | |
@@ -970,7 +969,6 @@ globus_l_gass_copy_glob_parse_mlst_line(
|
35 | |
goto error_invalid_mlsd;
|
36 | |
}
|
37 | |
*space = '\0';
|
38 | |
- filename = space + 1;
|
39 | |
startfact = startline;
|
40 | |
|
41 | |
while(startfact != space)
|
42 | |
diff --git a/globus_url_copy.c b/globus_url_copy.c
|
43 | |
index e47968779d..ccc7517960 100644
|
44 | |
--- a/globus_url_copy.c
|
45 | |
+++ b/globus_url_copy.c
|
46 | |
@@ -3477,14 +3477,14 @@ guc_l_pipe_to_stack_str(
|
47 | |
found = GLOBUS_FALSE;
|
48 | |
while(!found)
|
49 | |
{
|
50 | |
- if(strchr(in_str, *del) == NULL)
|
51 | |
+ if(strchr(in_str, *del) != NULL)
|
52 | |
{
|
53 | |
found = GLOBUS_TRUE;
|
54 | |
}
|
55 | |
else
|
56 | |
{
|
57 | |
del++;
|
58 | |
- if(del == '\0')
|
59 | |
+ if(*del == '\0')
|
60 | |
{
|
61 | |
fprintf(stderr, "The pipe string most contain at least one of the following characters: %s", del_choices);
|
62 | |
return NULL;
|
63 | |
@@ -3759,7 +3759,7 @@ globus_l_guc_parse_arguments(
|
64 | |
{
|
65 | |
*tmp_str = '\0';
|
66 | |
tmp_str++;
|
67 | |
- if(tmp_str == '\0')
|
68 | |
+ if(*tmp_str == '\0')
|
69 | |
{
|
70 | |
tmp_str = NULL;
|
71 | |
}
|