[mythtv-commits] mythtv/master commit: 7d18db092 by Nigel Pearson (NigelPearson)

MythTV noreply at mythtv.org
Tue May 10 04:41:57 UTC 2011


      Author:  Nigel Pearson <npearson at mythtv.org>
 Change Date:  2011-05-09T21:37:21-07:00
   Push Date:  2011/05/09 21:41:51 -0700
  Repository:  mythtv
      Branch:  master
New Revision:  7d18db092ca9b5a26b6432e1db8c146d2cdd0222
   Changeset:  https://github.com/MythTV/mythtv/commit/7d18db092

Log:

Improve ping() performance when host unavailable.

If the initial ping -t failed, it was doing a ping without the -t just
to check that the ping utility wasn't complaining about the -t argument.
Which is OK, but slow.

It now does a quick ping -t 1 -c 1 localhost to check ping likes -t.

Modified:

   mythtv/libs/libmythbase/util.cpp



More information about the mythtv-commits mailing list