From d5ee0fc23bdc1a194774591eb4ce63b8bebb8d6e Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Sat, 23 May 2015 17:01:01 +0000 Subject: replace strncat to mir_strncat git-svn-id: http://svn.miranda-ng.org/main/trunk@13780 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Xfire/src/searching4games.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'protocols/Xfire') diff --git a/protocols/Xfire/src/searching4games.cpp b/protocols/Xfire/src/searching4games.cpp index d04686ea12..01fb52f082 100644 --- a/protocols/Xfire/src/searching4games.cpp +++ b/protocols/Xfire/src/searching4games.cpp @@ -69,9 +69,9 @@ BOOL CheckPath(char*ppath, char*pathwildcard = NULL) strncpy(temp, ppath,XFIRE_MAX_STATIC_STRING_LEN-1); *(temp + mir_strlen(temp) - 1) = 0; - strncat(temp, wfd.cFileName, SIZEOF(temp) - mir_strlen(temp)); - strncat(temp, "\\", SIZEOF(temp) - mir_strlen(temp)); - strncat(temp, pos, SIZEOF(temp) - mir_strlen(temp)); + mir_strncat(temp, wfd.cFileName, SIZEOF(temp) - mir_strlen(temp)); + mir_strncat(temp, "\\", SIZEOF(temp) - mir_strlen(temp)); + mir_strncat(temp, pos, SIZEOF(temp) - mir_strlen(temp)); if (GetFileAttributesA(temp) != 0xFFFFFFFF) { //exe vorhanden???? unt hint? //gefundenes in path kopieren -- cgit v1.2.3