comparison mcabber/src/histolog.c @ 169:0ed6099b5a54

[/trunk] Changeset 181 by mikael * Default logging directory is now "$HOME/.mcabber/histo/" * Default configuration file is now "$HOME/.mcabber/mcabberrc" (~/.mcabberrc should still work) * Switch parsecfg.c to glib
author mikael
date Wed, 04 May 2005 19:33:03 +0000
parents 8a54d46e889a
children a51ce78a0e2a
comparison
equal deleted inserted replaced
168:6ad156673b19 169:0ed6099b5a54
116 strcpy(RootDir, root_dir); 116 strcpy(RootDir, root_dir);
117 strcat(RootDir, "/"); 117 strcat(RootDir, "/");
118 } 118 }
119 } else { 119 } else {
120 char *home = getenv("HOME"); 120 char *home = getenv("HOME");
121 char *dir = "/.mcabber/"; 121 char *dir = "/.mcabber/histo/";
122 RootDir = g_new(char, strlen(home) + strlen(dir) + 1); 122 RootDir = g_new(char, strlen(home) + strlen(dir) + 1);
123 strcpy(RootDir, home); 123 strcpy(RootDir, home);
124 strcat(RootDir, dir); 124 strcat(RootDir, dir);
125 } 125 }
126 // FIXME 126 // FIXME