diff options
author | Tobias Weimer <wishmaster51@googlemail.com> | 2015-04-24 14:05:14 +0000 |
---|---|---|
committer | Tobias Weimer <wishmaster51@googlemail.com> | 2015-04-24 14:05:14 +0000 |
commit | e6025ae37081310f2bd0bf2e5a1aec8d06d06f82 (patch) | |
tree | 43ed713a034d3c65243c222a13b1b38cd09b7a5d /plugins/New_GPG/src/utilities.cpp | |
parent | 6fb6adb873fdf453a9c712c5ec8cdfa3182d1973 (diff) |
New GPG:
- minor fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@13082 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/New_GPG/src/utilities.cpp')
-rwxr-xr-x | plugins/New_GPG/src/utilities.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/New_GPG/src/utilities.cpp b/plugins/New_GPG/src/utilities.cpp index eb48e37e08..349fd98e04 100755 --- a/plugins/New_GPG/src/utilities.cpp +++ b/plugins/New_GPG/src/utilities.cpp @@ -544,7 +544,7 @@ INT_PTR onSendFile(WPARAM w, LPARAM l) if( ProtoServiceExists(proto, PS_ICQ_CHECKCAPABILITY)) { supported_proto = true; ICQ_CUSTOMCAP cap = {0}; - strncpy(cap.caps, "GPGFileTransfer",sizeof(cap.caps)-1); + strncpy(cap.caps, "GPGFileTransfer",sizeof(cap.caps)); if( ProtoCallService(proto, PS_ICQ_CHECKCAPABILITY, (WPARAM)ccs->hContact, (LPARAM)&cap)) cap_found = true; } |