[Xymon] [PATCH] - xymond readers grammar

John Horne john.horne at plymouth.ac.uk
Thu Oct 17 17:55:47 CEST 2019


Hello,

Using the Terabithia 4.3.30 RPMs, and while I was in the xymond code, we
noticed the xymond web page statistics showed the number of readers per
channel. However, it was showing them as (for example): (1 readers)

This is a trivial patch of the 'xymond/xymond.c' file just to correct the
grammar so that a value of 1 is treated as singular (so '1 reader'), and
anything else is given the plural form (e.g. '2 readers').



John.

--
John Horne | Senior Operations Analyst | Technology and Information Services
University of Plymouth | Drake Circus | Plymouth | Devon | PL4 8AA | UK
________________________________
[http://www.plymouth.ac.uk/images/email_footer.gif]<http://www.plymouth.ac.uk/worldclass>

This email and any files with it are confidential and intended solely for the use of the recipient to whom it is addressed. If you are not the intended recipient then copying, distribution or other use of the information contained is strictly prohibited and you should not rely on it. If you have received this email in error please let the sender know immediately and delete it from your system(s). Internet emails are not necessarily secure. While we take every care, University of Plymouth accepts no responsibility for viruses and it is your responsibility to scan emails and their attachments. University of Plymouth does not accept responsibility for any changes made after it was sent. Nothing in this email or its attachments constitutes an order for goods or services unless accompanied by an official order form.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xymond-readers.patch
Type: text/x-patch
Size: 3145 bytes
Desc: xymond-readers.patch
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20191017/01a2876e/attachment.bin>


More information about the Xymon mailing list