summaryrefslogtreecommitdiff
path: root/libpurple/core.c
diff options
context:
space:
mode:
authorSadrul Habib Chowdhury <sadrul@pidgin.im>2008-10-31 07:59:46 +0000
committerSadrul Habib Chowdhury <sadrul@pidgin.im>2008-10-31 07:59:46 +0000
commitd3cc5bf24a5f759be9b7a83e12e8229196ca8e34 (patch)
tree71a090201ae21d68b0825085fefebf9bc2748fb0 /libpurple/core.c
parent65a637da9cd60700ec178cde1ed3dd24e0695f46 (diff)
parent7902d6c9d6e8608a7147949eaa1838206a3b14ea (diff)
downloadpidgin-sadrul.struct.hiding.tar.gz
propagate from branch 'im.pidgin.pidgin' (head 328a7b5211ba8112c8978d5b81f5e39bf2ce2596)sadrul.struct.hiding
to branch 'local.struct.hiding' (head ee0f2a4594bf5beb531faa4978a7a450903a6017)
Diffstat (limited to 'libpurple/core.c')
-rw-r--r--libpurple/core.c32
1 files changed, 16 insertions, 16 deletions
diff --git a/libpurple/core.c b/libpurple/core.c
index 98f917f4d4..b2eb2db695 100644
--- a/libpurple/core.c
+++ b/libpurple/core.c
@@ -361,7 +361,7 @@ move_and_symlink_dir(const char *path, const char *basename, const char *old_bas
#endif
if (g_rename(path, new_name))
{
- purple_debug_error("core", "Error renaming %s to %s: %s. Please report this at http://developer.pidgin.im\n",
+ purple_debug_error("core", "Error renaming %s to %s: %s. Please report this at " PURPLE_DEVEL_WEBSITE "\n",
path, new_name, g_strerror(errno));
g_free(new_name);
return FALSE;
@@ -374,7 +374,7 @@ move_and_symlink_dir(const char *path, const char *basename, const char *old_bas
old_name = g_build_filename(old_base, basename, NULL);
if (symlink(new_name, old_name))
{
- purple_debug_warning("core", "Error symlinking %s to %s: %s. Please report this at http://developer.pidgin.im\n",
+ purple_debug_warning("core", "Error symlinking %s to %s: %s. Please report this at " PURPLE_DEVEL_WEBSITE "\n",
old_name, new_name, g_strerror(errno));
}
g_free(old_name);
@@ -430,7 +430,7 @@ purple_core_migrate(void)
{
if (g_mkdir(user_dir, S_IRUSR | S_IWUSR | S_IXUSR) == -1)
{
- purple_debug_error("core", "Error creating directory %s: %s. Please report this at http://developer.pidgin.im\n",
+ purple_debug_error("core", "Error creating directory %s: %s. Please report this at " PURPLE_DEVEL_WEBSITE "\n",
user_dir, g_strerror(errno));
g_free(status_file);
g_free(old_user_dir);
@@ -442,7 +442,7 @@ purple_core_migrate(void)
* incomplete migrations and properly retry. */
if (!(fp = g_fopen(status_file, "w")))
{
- purple_debug_error("core", "Error opening file %s for writing: %s. Please report this at http://developer.pidgin.im\n",
+ purple_debug_error("core", "Error opening file %s for writing: %s. Please report this at " PURPLE_DEVEL_WEBSITE "\n",
status_file, g_strerror(errno));
g_free(status_file);
g_free(old_user_dir);
@@ -454,7 +454,7 @@ purple_core_migrate(void)
err = NULL;
if (!(dir = g_dir_open(old_user_dir, 0, &err)))
{
- purple_debug_error("core", "Error opening directory %s: %s. Please report this at http://developer.pidgin.im\n",
+ purple_debug_error("core", "Error opening directory %s: %s. Please report this at " PURPLE_DEVEL_WEBSITE "\n",
status_file,
(err ? err->message : "Unknown error"));
if (err)
@@ -483,7 +483,7 @@ purple_core_migrate(void)
if ((link = g_file_read_link(name, &err)) == NULL)
{
char *name_utf8 = g_filename_to_utf8(name, -1, NULL, NULL, NULL);
- purple_debug_error("core", "Error reading symlink %s: %s. Please report this at http://developer.pidgin.im\n",
+ purple_debug_error("core", "Error reading symlink %s: %s. Please report this at " PURPLE_DEVEL_WEBSITE "\n",
name_utf8 ? name_utf8 : name, err->message);
g_free(name_utf8);
g_error_free(err);
@@ -500,7 +500,7 @@ purple_core_migrate(void)
if ((linklen = readlink(name, buf, sizeof(buf) - 1) == -1))
{
char *name_utf8 = g_filename_to_utf8(name, -1, NULL, NULL, NULL);
- purple_debug_error("core", "Error reading symlink %s: %s. Please report this at http://developer.pidgin.im\n",
+ purple_debug_error("core", "Error reading symlink %s: %s. Please report this at " PURPLE_DEVEL_WEBSITE "\n",
name_utf8, g_strerror(errno));
g_free(name_utf8);
g_free(name);
@@ -538,7 +538,7 @@ purple_core_migrate(void)
* guaranteed. Oh well. */
if (symlink(link, logs_dir))
{
- purple_debug_error("core", "Error symlinking %s to %s: %s. Please report this at http://developer.pidgin.im\n",
+ purple_debug_error("core", "Error symlinking %s to %s: %s. Please report this at " PURPLE_DEVEL_WEBSITE "\n",
logs_dir, link, g_strerror(errno));
g_free(link);
g_free(name);
@@ -577,7 +577,7 @@ purple_core_migrate(void)
err = NULL;
if (!(icons_dir = g_dir_open(name, 0, &err)))
{
- purple_debug_error("core", "Error opening directory %s: %s. Please report this at http://developer.pidgin.im\n",
+ purple_debug_error("core", "Error opening directory %s: %s. Please report this at " PURPLE_DEVEL_WEBSITE "\n",
name,
(err ? err->message : "Unknown error"));
if (err)
@@ -595,7 +595,7 @@ purple_core_migrate(void)
{
if (g_mkdir(new_icons_dir, S_IRUSR | S_IWUSR | S_IXUSR) == -1)
{
- purple_debug_error("core", "Error creating directory %s: %s. Please report this at http://developer.pidgin.im\n",
+ purple_debug_error("core", "Error creating directory %s: %s. Please report this at " PURPLE_DEVEL_WEBSITE "\n",
new_icons_dir, g_strerror(errno));
g_free(new_icons_dir);
g_dir_close(icons_dir);
@@ -658,7 +658,7 @@ purple_core_migrate(void)
if (!(fp = g_fopen(name, "rb")))
{
- purple_debug_error("core", "Error opening file %s for reading: %s. Please report this at http://developer.pidgin.im\n",
+ purple_debug_error("core", "Error opening file %s for reading: %s. Please report this at " PURPLE_DEVEL_WEBSITE "\n",
name, g_strerror(errno));
g_free(name);
g_dir_close(dir);
@@ -670,7 +670,7 @@ purple_core_migrate(void)
new_name = g_build_filename(user_dir, entry, NULL);
if (!(new_file = g_fopen(new_name, "wb")))
{
- purple_debug_error("core", "Error opening file %s for writing: %s. Please report this at http://developer.pidgin.im\n",
+ purple_debug_error("core", "Error opening file %s for writing: %s. Please report this at " PURPLE_DEVEL_WEBSITE "\n",
new_name, g_strerror(errno));
fclose(fp);
g_free(new_name);
@@ -689,7 +689,7 @@ purple_core_migrate(void)
size = fread(buf, 1, sizeof(buf), fp);
if (size != sizeof(buf) && !feof(fp))
{
- purple_debug_error("core", "Error reading %s: %s. Please report this at http://developer.pidgin.im\n",
+ purple_debug_error("core", "Error reading %s: %s. Please report this at " PURPLE_DEVEL_WEBSITE "\n",
name, g_strerror(errno));
fclose(new_file);
fclose(fp);
@@ -703,7 +703,7 @@ purple_core_migrate(void)
if (!fwrite(buf, size, 1, new_file) && ferror(new_file) != 0)
{
- purple_debug_error("core", "Error writing %s: %s. Please report this at http://developer.pidgin.im\n",
+ purple_debug_error("core", "Error writing %s: %s. Please report this at " PURPLE_DEVEL_WEBSITE "\n",
new_name, g_strerror(errno));
fclose(new_file);
fclose(fp);
@@ -718,7 +718,7 @@ purple_core_migrate(void)
if (fclose(new_file))
{
- purple_debug_error("core", "Error writing: %s: %s. Please report this at http://developer.pidgin.im\n",
+ purple_debug_error("core", "Error writing: %s: %s. Please report this at " PURPLE_DEVEL_WEBSITE "\n",
new_name, g_strerror(errno));
}
if (fclose(fp))
@@ -737,7 +737,7 @@ purple_core_migrate(void)
/* The migration was successful, so delete the status file. */
if (g_unlink(status_file))
{
- purple_debug_error("core", "Error unlinking file %s: %s. Please report this at http://developer.pidgin.im\n",
+ purple_debug_error("core", "Error unlinking file %s: %s. Please report this at " PURPLE_DEVEL_WEBSITE "\n",
status_file, g_strerror(errno));
g_free(status_file);
return FALSE;