version 1.3, 2009/06/03 16:54:26 |
version 1.4, 2009/06/04 21:43:24 |
|
|
xfree(c->prompt_string); |
xfree(c->prompt_string); |
c->prompt_string = NULL; |
c->prompt_string = NULL; |
|
|
|
if (c->prompt_flags & PROMPT_HIDDEN) |
|
memset(c->prompt_buffer, 0, strlen(c->prompt_buffer)); |
xfree(c->prompt_buffer); |
xfree(c->prompt_buffer); |
c->prompt_buffer = NULL; |
c->prompt_buffer = NULL; |
|
|
|
|
|
|
if (ARRAY_LENGTH(&c->prompt_hdata) == 0) |
if (ARRAY_LENGTH(&c->prompt_hdata) == 0) |
break; |
break; |
|
if (c->prompt_flags & PROMPT_HIDDEN) |
|
memset(c->prompt_buffer, 0, strlen(c->prompt_buffer)); |
xfree(c->prompt_buffer); |
xfree(c->prompt_buffer); |
|
|
c->prompt_buffer = xstrdup(ARRAY_ITEM(&c->prompt_hdata, |
c->prompt_buffer = xstrdup(ARRAY_ITEM(&c->prompt_hdata, |
|
|
if (server_locked) |
if (server_locked) |
break; |
break; |
|
|
|
if (c->prompt_flags & PROMPT_HIDDEN) |
|
memset(c->prompt_buffer, 0, strlen(c->prompt_buffer)); |
xfree(c->prompt_buffer); |
xfree(c->prompt_buffer); |
|
|
if (c->prompt_hindex != 0) { |
if (c->prompt_hindex != 0) { |