strncat -> silc_strncat.
[silc.git] / lib / silcclient / command_reply.c
index 7277b8db9f287cbc4ebce1efc7fe67c80f4dce17..41cc376c8158a536f702ef26938b38a7a3e9b78b 100644 (file)
@@ -1143,7 +1143,7 @@ SILC_CLIENT_CMD_REPLY_FUNC(motd)
     while(cp[i] != 0) {
       if (cp[i++] == '\n') {
        memset(line, 0, sizeof(line));
-       strncat(line, cp, i - 1);
+       silc_strncat(line, sizeof(line), cp, i - 1);
        cp += i;
        
        if (i == 2)