1. 20 Apr, 2018 1 commit
  2. 10 Apr, 2018 1 commit
    • Michał Kępień's avatar
      Use dns_fixedname_initname() where possible · ecea678d
      Michał Kępień authored and Evan Hunt's avatar Evan Hunt committed
      Replace dns_fixedname_init() calls followed by dns_fixedname_name()
      calls with calls to dns_fixedname_initname() where it is possible
      without affecting current behavior and/or performance.
      
      This patch was mostly prepared using Coccinelle and the following
      semantic patch:
      
          @@
          expression fixedname, name;
          @@
          -	dns_fixedname_init(&fixedname);
          	...
          -	name = dns_fixedname_name(&fixedname);
          +	name = dns_fixedname_initname(&fixedname);
      
      The resulting set of changes was then manually reviewed to exclude false
      positives and apply minor tweaks.
      
      It is likely that more occurrences of this pattern can be refactored in
      an identical way.  This commit only takes care of the low-hanging fruit.
      
      (cherry picked from commit 4df4a8e7)
      (cherry picked from commit 0041aeb7)
      ecea678d
  3. 14 Mar, 2018 1 commit
  4. 09 Mar, 2018 1 commit
  5. 24 Jan, 2018 2 commits
  6. 06 Oct, 2017 2 commits
  7. 27 Jun, 2016 1 commit
  8. 04 Mar, 2016 4 commits
  9. 11 Nov, 2015 1 commit
  10. 05 Nov, 2015 2 commits
  11. 27 Sep, 2014 2 commits