Skip to content
  1. Apr 05, 2019
    • Rikard Falkeborn's avatar
      smtp: fix compiler warning · f5a77473
      Rikard Falkeborn authored
      - Fix clang string-plus-int warning.
      
      Clang 8 warns about adding a string to an int does not append to the
      string. Indeed it doesn't, but that was not the intention either. Use
      array indexing as suggested to silence the warning. There should be no
      functional changes.
      
      (In other words clang warns about "foo"+2 but not &"foo"[2] so use the
      latter.)
      
      smtp.c:1221:29: warning: adding 'int' to a string does not append to the
      string [-Wstring-plus-int]
            eob = strdup(SMTP_EOB + 2);
                  ~~~~~~~~~~~~~~~~^~~~
      
      Closes https://github.com/curl/curl/pull/3729
      f5a77473
  2. Apr 04, 2019
  3. Apr 03, 2019
  4. Apr 02, 2019
  5. Apr 01, 2019
  6. Mar 31, 2019
  7. Mar 28, 2019
  8. Mar 27, 2019
  9. Mar 26, 2019
  10. Mar 25, 2019
  11. Mar 24, 2019
  12. Mar 22, 2019
  13. Mar 20, 2019
  14. Mar 18, 2019
  15. Mar 17, 2019
  16. Mar 15, 2019
  17. Mar 14, 2019