Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Jun 2010 21:18:58 +0000 (UTC)
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sbin/hastd hastd.c
Message-ID:  <201006142119.o5ELJASh088209@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
pjd         2010-06-14 21:18:58 UTC

  FreeBSD src repository

  Modified files:
    sbin/hastd           hastd.c 
  Log:
  SVN rev 209177 on 2010-06-14 21:18:58Z by pjd
  
  Remove macros that are not really needed. The idea was to have them in case
  we grow more descriptors, but I'll reconsider readding them once we get there.
  
  Passing (a = b) expression to FD_ISSET() is bad idea, as FD_ISSET() evaluates
  its argument twice.
  
  Found by:       Coverity Prevent
  CID:            5243
  MFC after:      3 days
  
  Revision  Changes    Path
  1.7       +12 -20    src/sbin/hastd/hastd.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201006142119.o5ELJASh088209>