diff options
author | bviktor <bviktor@outlook.com> | 2012-10-31 07:37:23 -0700 |
---|---|---|
committer | bviktor <bviktor@outlook.com> | 2012-10-31 07:37:23 -0700 |
commit | 7bd55c4f43604975a1f6f1e264047d5312d05df6 (patch) | |
tree | 1de7e290da8f697373beab9e463e3afe8f37b93b | |
parent | 64f1a43d07adc84dbad32b6434f408e1f0a6c770 (diff) | |
parent | bc06dffd5de58f65a70178c804b81b03e8216ad8 (diff) |
Merge pull request #212 from blasphemy/malloc
that malloc should have been made bigger when renaming xchat.conf to hex...
-rw-r--r-- | src/common/cfgfiles.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/cfgfiles.c b/src/common/cfgfiles.c index 168f116e..69453ddc 100644 --- a/src/common/cfgfiles.c +++ b/src/common/cfgfiles.c @@ -381,7 +381,7 @@ default_file (void) if (!dfile) { - dfile = malloc (strlen (get_xdir_fs ()) + 12); + dfile = malloc (strlen (get_xdir_fs ()) + 14); sprintf (dfile, "%s/hexchat.conf", get_xdir_fs ()); } return dfile; |