summaryrefslogtreecommitdiff
path: root/protocols/Yahoo/src
diff options
context:
space:
mode:
authorRozhuk Ivan <rozhuk.im@gmail.com>2014-12-04 23:42:36 +0000
committerRozhuk Ivan <rozhuk.im@gmail.com>2014-12-04 23:42:36 +0000
commite63926f79d51119b829d683983e562527f7dd10a (patch)
tree4ad26cc425798912f9391d9166cf32c6ea573c17 /protocols/Yahoo/src
parenta16429430c5cd7b20c6790c0f1084a8df6bbc9f4 (diff)
Db_autobackups: multiple changes
+ varios fixs git-svn-id: http://svn.miranda-ng.org/main/trunk@11245 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Yahoo/src')
-rw-r--r--protocols/Yahoo/src/libyahoo2/libyahoo2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Yahoo/src/libyahoo2/libyahoo2.cpp b/protocols/Yahoo/src/libyahoo2/libyahoo2.cpp
index 1ff4870a9a..58e21a74a7 100644
--- a/protocols/Yahoo/src/libyahoo2/libyahoo2.cpp
+++ b/protocols/Yahoo/src/libyahoo2/libyahoo2.cpp
@@ -2780,7 +2780,7 @@ static void yahoo_process_mail(struct yahoo_input_data *yid, struct yahoo_packet
if (who) {
snprintf(from, sizeof(from), "\"%s\" <%s>", who, email);
} else {
- snprintf(from, sizeof(from), "%s", email);
+ strncpy_s(from, email, _TRUNCATE);
}
YAHOO_CALLBACK(ext_yahoo_mail_notify)(yd->client_id, from, subj, count);