diff options
author | James Booth <boothj5@gmail.com> | 2012-10-28 18:01:13 +0000 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2012-10-28 18:01:13 +0000 |
commit | 0e9451f5e8fe5a14d8ca73a71f557e3f680fe0bd (patch) | |
tree | 6ea442d53c245b77f3ce49e33ccccedc461c3975 /src | |
parent | cd56134ebb8f0789c776477a1a1b6e337e6d0e70 (diff) | |
download | profani-tty-0e9451f5e8fe5a14d8ca73a71f557e3f680fe0bd.tar.gz |
Allocate memory for additional /who completion
Diffstat (limited to 'src')
-rw-r--r-- | src/command.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/command.c b/src/command.c index e9f40409..cd62c742 100644 --- a/src/command.c +++ b/src/command.c @@ -442,7 +442,7 @@ cmd_init(void) p_autocomplete_add(who_ac, (gchar *)strdup(pcmd->cmd+1)); } - p_autocomplete_add(who_ac, "offline"); + p_autocomplete_add(who_ac, strdup("offline")); history_init(); } |