Rikard Falkeborn f5a77473c5 smtp: fix compiler warning
- 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
2019-04-04 21:11:42 -04:00
..
2019-03-22 11:39:03 +01:00
2019-03-03 11:17:52 +01:00
2019-03-15 10:22:42 +01:00
2019-03-15 10:22:42 +01:00
2018-12-03 23:13:40 +01:00
2018-09-23 22:24:02 +00:00
2018-01-05 23:34:30 -05:00
2018-10-19 09:23:14 +02:00
2019-02-10 18:38:57 +01:00
2019-03-03 11:17:52 +01:00
2018-09-23 22:24:02 +00:00
2019-03-01 17:30:34 +01:00
2018-09-23 22:24:02 +00:00
2019-03-15 10:22:42 +01:00
2019-03-01 17:30:34 +01:00
2018-09-23 22:24:02 +00:00
2018-09-23 22:24:02 +00:00
2018-09-23 22:24:02 +00:00
2018-09-23 22:24:02 +00:00
2019-03-01 17:30:34 +01:00
2019-03-01 17:30:34 +01:00
2019-03-01 17:30:34 +01:00
2019-03-05 08:01:50 +01:00
2018-06-11 11:14:48 +02:00
2018-11-01 10:29:53 +01:00
2018-09-23 22:24:02 +00:00
2019-02-10 18:38:57 +01:00
2019-04-03 22:06:06 +02:00
2019-02-10 18:38:57 +01:00
2018-09-23 22:24:02 +00:00
2019-03-01 17:30:34 +01:00
2019-03-01 17:30:34 +01:00
2018-09-23 22:24:02 +00:00
2018-09-23 22:24:02 +00:00
2019-03-01 17:30:34 +01:00
2018-12-10 00:10:04 +01:00
2018-09-23 22:24:02 +00:00
2018-09-23 22:24:02 +00:00
2018-09-23 22:24:02 +00:00
2019-03-03 11:17:52 +01:00
2018-09-23 22:24:02 +00:00
2018-12-03 23:13:40 +01:00
2019-03-15 10:22:42 +01:00
2019-03-22 11:39:03 +01:00
2018-02-23 23:29:01 +00:00
2019-02-12 10:24:29 +01:00
2017-09-02 17:47:10 +01:00
2018-09-23 22:24:02 +00:00
2019-03-01 17:30:34 +01:00
2018-03-19 19:22:42 +01:00
2018-09-23 22:24:02 +00:00
2018-07-20 22:58:42 +02:00
2019-03-01 17:30:34 +01:00
2018-09-23 22:24:02 +00:00
2019-03-01 17:30:34 +01:00
2018-09-23 22:24:02 +00:00
2018-06-11 11:14:48 +02:00
2018-09-23 22:24:02 +00:00
2019-03-03 11:17:52 +01:00
2018-09-23 22:24:02 +00:00
2018-09-23 22:24:02 +00:00
2018-07-30 17:59:36 +02:00
2019-04-04 21:11:42 -04:00
2018-09-23 22:24:02 +00:00
2018-09-23 22:24:02 +00:00
2018-09-23 22:24:02 +00:00
2019-03-01 17:30:34 +01:00
2018-09-01 10:40:42 +02:00
2018-08-21 18:53:43 +02:00
2019-03-01 17:30:34 +01:00
2018-09-23 22:24:02 +00:00
2019-03-01 17:30:34 +01:00
2018-09-23 22:24:02 +00:00
2019-03-01 17:30:34 +01:00
2019-03-01 17:30:34 +01:00
2019-01-11 15:35:13 +01:00
2018-12-11 15:02:24 +01:00
2019-02-10 18:38:57 +01:00
2019-03-03 11:17:52 +01:00