1 Return-Path: <dmitry.kurochkin@gmail.com>
\r
2 X-Original-To: notmuch@notmuchmail.org
\r
3 Delivered-To: notmuch@notmuchmail.org
\r
4 Received: from localhost (localhost [127.0.0.1])
\r
5 by olra.theworths.org (Postfix) with ESMTP id A1331429E29
\r
6 for <notmuch@notmuchmail.org>; Thu, 16 Jun 2011 03:31:51 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5
\r
12 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,
\r
13 FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled
\r
14 Received: from olra.theworths.org ([127.0.0.1])
\r
15 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
16 with ESMTP id G+aBqEWanU1J for <notmuch@notmuchmail.org>;
\r
17 Thu, 16 Jun 2011 03:31:51 -0700 (PDT)
\r
18 Received: from mail-bw0-f53.google.com (mail-bw0-f53.google.com
\r
19 [209.85.214.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits))
\r
20 (No client certificate requested)
\r
21 by olra.theworths.org (Postfix) with ESMTPS id BF3DE431FB6
\r
22 for <notmuch@notmuchmail.org>; Thu, 16 Jun 2011 03:31:50 -0700 (PDT)
\r
23 Received: by bwg12 with SMTP id 12so153989bwg.26
\r
24 for <notmuch@notmuchmail.org>; Thu, 16 Jun 2011 03:31:49 -0700 (PDT)
\r
25 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
\r
26 h=domainkey-signature:from:to:cc:subject:date:message-id:x-mailer;
\r
27 bh=2aQ37njiqwKPS1JG8Iuu8YCJCkt8UFjouJHg6+UlgHg=;
\r
28 b=B03eUPU44PO3rYr4gGLmvrHpReqvdyhr7eMRM0ByHhJaQR39mLMVCR+pCZzHZKkxsQ
\r
29 qtC3AqWGxdfTL3FXZ0xeQ8VHmgXEgi586ZjLPVW1yRbQ87lBu+udWoIfoHg4EP97F3Ed
\r
30 i1smbSmx3721FnDaqarm26kqsQYKhsZVCWjgc=
\r
31 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;
\r
32 h=from:to:cc:subject:date:message-id:x-mailer;
\r
33 b=qjCbCpzk9g4+ElZwwHQxMp/UAoYukAGOaYW/5HFqdCfiSw5g05D+k4jvPVI4DhPWg/
\r
34 A7cFqYTeqHjZvRfi8r6DCMbiQXO2oy3NsJK72vNvjmSka4vOEvfyixQ/N1jdhR8JyHDo
\r
35 aHLo60S4x4lLqU/X1bWBVkt7PXwjvRiGtJpGw=
\r
36 Received: by 10.204.189.209 with SMTP id df17mr552557bkb.75.1308220309162;
\r
37 Thu, 16 Jun 2011 03:31:49 -0700 (PDT)
\r
38 Received: from localhost ([91.144.186.21])
\r
39 by mx.google.com with ESMTPS id v6sm1095475bkf.23.2011.06.16.03.31.46
\r
40 (version=TLSv1/SSLv3 cipher=OTHER);
\r
41 Thu, 16 Jun 2011 03:31:47 -0700 (PDT)
\r
42 From: Dmitry Kurochkin <dmitry.kurochkin@gmail.com>
\r
43 To: notmuch@notmuchmail.org
\r
44 Subject: [PATCH] Fix compilation warnings in test/smtp-dummy.c.
\r
45 Date: Thu, 16 Jun 2011 14:32:08 +0400
\r
46 Message-Id: <1308220328-17995-1-git-send-email-dmitry.kurochkin@gmail.com>
\r
47 X-Mailer: git-send-email 1.7.5.4
\r
48 X-BeenThere: notmuch@notmuchmail.org
\r
49 X-Mailman-Version: 2.1.13
\r
51 List-Id: "Use and development of the notmuch mail system."
\r
52 <notmuch.notmuchmail.org>
\r
53 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
54 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
55 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
56 List-Post: <mailto:notmuch@notmuchmail.org>
\r
57 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
58 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
59 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
60 X-List-Received-Date: Thu, 16 Jun 2011 10:31:51 -0000
\r
62 * Remove unused variables in main(): buf, bytes and greeting.
\r
63 * Replace return with no value in main() with exit(3).
\r
65 test/smtp-dummy.c | 5 +----
\r
66 1 files changed, 1 insertions(+), 4 deletions(-)
\r
68 diff --git a/test/smtp-dummy.c b/test/smtp-dummy.c
\r
69 index e58d0ad..133d6c4 100644
\r
70 --- a/test/smtp-dummy.c
\r
71 +++ b/test/smtp-dummy.c
\r
72 @@ -99,9 +99,6 @@ process_command (FILE *peer, FILE *output, const char *command)
\r
74 do_smtp_to_file (FILE *peer, FILE *output)
\r
78 - char greeting[] = "220 localhost smtp-dummy\r\n";
\r
82 @@ -193,7 +190,7 @@ main (int argc, char *argv[])
\r
83 if (peer_file == NULL) {
\r
84 fprintf (stderr, "Error: fdopen() failed: %s\n",
\r
90 do_smtp_to_file (peer_file, output);
\r