1. 25 6月, 2012 6 次提交
    • Travis Cross's avatar
      Add missing return statement · e6629ab5
      Travis Cross 提交于
      sres_cached_answers_sockaddr is supposed to return ENOENT if no cached
      records are found.  Because of the missing return statement, however,
      it would never do this and would instead return something very likely
      to be garbage.
      e6629ab5
    • Travis Cross's avatar
      Remove a contradiction · 5077384c
      Travis Cross 提交于
      base64_d returns a value of size_t, which is unsigned.  The value
      therefore cannot be less than zero.  The second check testing whether
      it is >= INT_MAX is not a contradiction, but it doesn't make any sense
      to check for this (as far as I can tell).
      5077384c
    • Travis Cross's avatar
      Remove a tautological conditional · 76a26648
      Travis Cross 提交于
      SU_LOG->log_level is declared as unsigned, hence it will always
      be >= 0.
      76a26648
    • Travis Cross's avatar
      Implement MEMLOCK and UNLOCK as functions · 9e52f33d
      Travis Cross 提交于
      Converting these macros to functions declared static inline allow the
      C type-checker to work and avoid warnings about unused expression
      values.  These warnings break the build with clang.
      9e52f33d
    • Travis Cross's avatar
      Implement su_errno and su_seterrno as functions · c01a1426
      Travis Cross 提交于
      This avoid warnings about expressions with unused values.  These
      warnings break the build with clang.
      
      An optimizing compiler should still inline these calls.  If that turns
      out not to happen on some platform, we could rename the functions used
      internally and declare them static inline.
      c01a1426
    • Travis Cross's avatar
      Fix memset calls in sofia-sip · 43f2c89a
      Travis Cross 提交于
      These calls were zeroing only a pointer's worth of memory rather than
      the actual size of the objects.
      43f2c89a
  2. 24 6月, 2012 10 次提交
  3. 23 6月, 2012 12 次提交
  4. 22 6月, 2012 4 次提交
  5. 21 6月, 2012 3 次提交
  6. 20 6月, 2012 5 次提交