Added template with incorret usage of strncat