2004-04-14 Jordi Mallach
* examples/pop3client (pop_completion): Use rl_completion_matches. Fixes potential crash on 64-bit architectures.
Showing
2 changed files
with
6 additions
and
1 deletions
... | @@ -164,7 +164,7 @@ pop_completion (char *text, int start, int end) | ... | @@ -164,7 +164,7 @@ pop_completion (char *text, int start, int end) |
164 | to complete. Otherwise it is the name of a file in the current | 164 | to complete. Otherwise it is the name of a file in the current |
165 | directory. */ | 165 | directory. */ |
166 | if (start == 0) | 166 | if (start == 0) |
167 | matches = completion_matches (text, command_generator); | 167 | matches = rl_completion_matches (text, command_generator); |
168 | 168 | ||
169 | return (matches); | 169 | return (matches); |
170 | } | 170 | } | ... | ... |
-
Please register or sign in to post a comment