76f7e0045a
- use system neon
31 lines
1.1 KiB
Plaintext
31 lines
1.1 KiB
Plaintext
$OpenBSD: patch-src_cadaver_c,v 1.2 2009/09/08 15:33:15 jasper Exp $
|
|
--- src/cadaver.c.orig Tue Sep 8 16:35:26 2009
|
|
+++ src/cadaver.c Tue Sep 8 16:35:44 2009
|
|
@@ -707,7 +707,7 @@ static char **completion(const char *text, int start,
|
|
char *sep = strchr(rl_line_buffer, ' ');
|
|
|
|
if (start == 0) {
|
|
- matches = rl_completion_matches(text, command_generator);
|
|
+ matches = rl_completion_matches((char *)text, command_generator);
|
|
}
|
|
else if (sep != NULL) {
|
|
char *cname = ne_strndup(rl_line_buffer, sep - rl_line_buffer);
|
|
@@ -719,7 +719,7 @@ static char **completion(const char *text, int start,
|
|
case parmscope_none:
|
|
break;
|
|
case parmscope_local:
|
|
- matches = rl_completion_matches(text,
|
|
+ matches = rl_completion_matches((char *)text,
|
|
rl_filename_completion_function);
|
|
break;
|
|
case parmscope_option:
|
|
@@ -727,7 +727,7 @@ static char **completion(const char *text, int start,
|
|
break;
|
|
case parmscope_remote:
|
|
if (session.connected) {
|
|
- matches = rl_completion_matches(text, remote_completion);
|
|
+ matches = rl_completion_matches((char *)text, remote_completion);
|
|
}
|
|
break;
|
|
}
|