]> granicus.if.org Git - curl/commitdiff
smtp-tls: add a missing newline
authorBrad Hards <bradh@frogmouth.net>
Wed, 22 Dec 2010 00:57:48 +0000 (11:57 +1100)
committerKamil Dudka <kdudka@redhat.com>
Wed, 22 Dec 2010 01:20:18 +0000 (02:20 +0100)
Without this you won't get the next (Subject) line.

docs/examples/smtp-tls.c

index a8baade585cac4c07b60820f74446aab8007f136..97119c5689976a8723c8bc1c2a48219c4e804bb1 100644 (file)
@@ -25,7 +25,7 @@ static const char *payload_text[]={
   "To: " TO "\n",
   "From: " FROM "(Example User)\n",
   "Cc: " CC "(Another example User)\n",
-  "Message-ID: <dcd7cb36-11db-487a-9f3a-e652a9458efd@rfcpedant.example.org>",
+  "Message-ID: <dcd7cb36-11db-487a-9f3a-e652a9458efd@rfcpedant.example.org>\n",
   "Subject: SMTP TLS example message\n",
   "\n", /* empty line to divide headers from body, see RFC5322 */
   "The body of the message starts here.\n",