Changeset 4bfca70
- Timestamp:
- 2005-12-17T00:48:35Z (19 years ago)
- Branches:
- master
- Children:
- 32c632f
- Parents:
- 701acdd4
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
conf.c
r701acdd4 r4bfca70 55 55 conf->password = NULL; 56 56 conf->configdir = g_strdup( CONFIG ); 57 conf->plugindir = g_strdup( PLUGINDIR ); 57 58 conf->motdfile = g_strdup( ETCDIR "/motd.txt" ); 58 59 conf->ping_interval = 180; -
conf.h
r701acdd4 r4bfca70 41 41 char *hostname; 42 42 char *configdir; 43 char *plugindir; 43 44 char *motdfile; 44 45 char *primary_storage; -
protocols/nogaim.c
r701acdd4 r4bfca70 82 82 GError *error = NULL; 83 83 84 dir = g_dir_open( PLUGINDIR, 0, &error);84 dir = g_dir_open(global.conf->plugindir, 0, &error); 85 85 86 86 if (dir) { … … 89 89 90 90 while ((entry = g_dir_read_name(dir))) { 91 path = g_build_filename( PLUGINDIR, entry, NULL);91 path = g_build_filename(global.conf->plugindir, entry, NULL); 92 92 if(!path) { 93 93 log_message(LOGLVL_WARNING, "Can't build path for %s\n", entry);
Note: See TracChangeset
for help on using the changeset viewer.