summaryrefslogtreecommitdiff
path: root/protocols/Gadu-Gadu/import.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Gadu-Gadu/import.cpp')
-rw-r--r--protocols/Gadu-Gadu/import.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/protocols/Gadu-Gadu/import.cpp b/protocols/Gadu-Gadu/import.cpp
index c07e2c2006..6d03d4782c 100644
--- a/protocols/Gadu-Gadu/import.cpp
+++ b/protocols/Gadu-Gadu/import.cpp
@@ -162,7 +162,7 @@ char *gg_makecontacts(GGPROTO *gg, int cr)
}
string_append_c(s, ';');
// Readup Uin
- string_append(s, ditoa(db_get_b(hContact, gg->m_szModuleName, GG_KEY_UIN, 0)));
+ string_append(s, ditoa(db_get_dw(hContact, gg->m_szModuleName, GG_KEY_UIN, 0)));
string_append_c(s, ';');
// Readup Mail (fixed: uses stored editable mails)
if (!db_get_s(hContact, "UserInfo", "Mye-mail0", &dbv, DBVT_ASCIIZ))
@@ -337,7 +337,7 @@ INT_PTR GGPROTO::import_server(WPARAM wParam, LPARAM lParam)
}
else return 0;
- if (!(uin = db_get_b(NULL, m_szModuleName, GG_KEY_UIN, 0)))
+ if (!(uin = db_get_dw(NULL, m_szModuleName, GG_KEY_UIN, 0)))
return 0;
// Making contacts list
@@ -384,7 +384,7 @@ INT_PTR GGPROTO::remove_server(WPARAM wParam, LPARAM lParam)
}
else return 0;
- if (!(uin = db_get_b(NULL, m_szModuleName, GG_KEY_UIN, 0)))
+ if (!(uin = db_get_dw(NULL, m_szModuleName, GG_KEY_UIN, 0)))
return 0;
// Making contacts list
@@ -563,7 +563,7 @@ INT_PTR GGPROTO::export_server(WPARAM wParam, LPARAM lParam)
}
else return 0;
- if (!(uin = db_get_b(NULL, m_szModuleName, GG_KEY_UIN, 0)))
+ if (!(uin = db_get_dw(NULL, m_szModuleName, GG_KEY_UIN, 0)))
return 0;
// Making contacts list