forked from Lainports/opnsense-ports
Taken from: https://github.com/freebsd/freebsd-ports.git Commit id: 5070672073b68be364139bc6b3a89100bd17d331
28 lines
733 B
C
28 lines
733 B
C
--- xml_formatter.c.orig
|
|
+++ xml_formatter.c
|
|
@@ -144,7 +144,7 @@
|
|
//
|
|
// SYNOPSIS
|
|
//
|
|
- void xml_formatter::result( int rank, file_info const &fi ) const
|
|
+ void xml_formatter::result( int my_rank, file_info const &fi ) const
|
|
//
|
|
// DESCRIPTION
|
|
//
|
|
@@ -153,14 +153,14 @@
|
|
//
|
|
// PARAMETERS
|
|
//
|
|
-// rank The rank (1-100) of the result.
|
|
+// my_rank The rank (1-100) of the result.
|
|
//
|
|
// fi The search result's file information.
|
|
//
|
|
//*****************************************************************************
|
|
{
|
|
out_ << " <File>\n"
|
|
- " <Rank>" << rank << "</Rank>\n"
|
|
+ " <Rank>" << my_rank << "</Rank>\n"
|
|
" <Path>"
|
|
<< directories[ fi.dir_index() ] << '/' << fi.file_name()
|
|
<< "</Path>\n"
|