~zooko/cryptopp/trunk

« back to all changes in this revision

Viewing changes to socketft.h

  • Committer: weidai
  • Date: 2010-06-18 01:52:34 UTC
  • Revision ID: svn-v4:57ff6487-cd31-0410-9ec3-f628ee90f5f0:trunk/c5:485
avoid SecBlock of arrays

Show diffs side-by-side

added added

removed removed

Lines of Context:
94
94
#ifdef USE_WINDOWS_STYLE_SOCKETS
95
95
        void CheckAndHandleError(const char *operation, BOOL result) const
96
96
                {assert(result==TRUE || result==FALSE); if (!result) HandleError(operation);}
 
97
        void CheckAndHandleError(const char *operation, bool result) const
 
98
                {if (!result) HandleError(operation);}
97
99
#endif
98
100
 
99
101
        //! look up the port number given its name, returns 0 if not found