Skip to content

Assorted code cleanups

Alan Coopersmith requested to merge alanc/smproxy:misc into master
  • Reduce variable scopes as suggested by cppcheck
  • NullIceErrorHandler: make arg names match between definition & declaration
  • Remove or correct obsolete casts
  • Use calloc instead of malloc to allocate arrays
  • CheckFullyQuantifiedName: return unqualified name if alloc fails
  • CheckFullyQuantifiedName: improve gethostname() handling

Merge request reports