Show a patch.

GET /api/patches/70/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 70,
    "url": "https://patches.dpdk.org/api/patches/70/?format=api",
    "web_url": "https://patches.dpdk.org/patch/70/",
    "project": {
        "id": 1,
        "url": "https://patches.dpdk.org/api/projects/1/?format=api",
        "name": "DPDK",
        "link_name": "dpdk",
        "list_id": "dev.dpdk.org",
        "list_email": "dev@dpdk.org",
        "web_url": "http://core.dpdk.org",
        "scm_url": "git://dpdk.org/dpdk",
        "webscm_url": "http://git.dpdk.org/dpdk"
    },
    "msgid": "<1405914461-19335-3-git-send-email-mhall@mhcomputing.net>",
    "date": "2014-07-21T03:47:39",
    "name": "[dpdk-dev,2/4] virtio-net.c: incorrect parens around equality check",
    "commit_ref": null,
    "pull_url": null,
    "state": "rejected",
    "archived": true,
    "hash": "22b053606a1d8725934f2c576a1c993591bea311",
    "submitter": {
        "id": 37,
        "url": "https://patches.dpdk.org/api/people/37/?format=api",
        "name": "Matthew Hall",
        "email": "mhall@mhcomputing.net"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/patch/70/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/70/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/70/checks/",
    "tags": {},
    "headers": {
        "List-Unsubscribe": "<http://dpdk.org/ml/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "Return-Path": "<mhall@mhcomputing.net>",
        "List-Post": "<mailto:dev@dpdk.org>",
        "To": "dev@dpdk.org",
        "In-Reply-To": "<1405914461-19335-1-git-send-email-mhall@mhcomputing.net>",
        "Precedence": "list",
        "Message-Id": "<1405914461-19335-3-git-send-email-mhall@mhcomputing.net>",
        "X-Mailer": "git-send-email 1.9.1",
        "From": "Matthew Hall <mhall@mhcomputing.net>",
        "List-Archive": "<http://dpdk.org/ml/archives/dev/>",
        "List-Subscribe": "<http://dpdk.org/ml/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "References": "<1405914461-19335-1-git-send-email-mhall@mhcomputing.net>",
        "X-List-Received-Date": "Mon, 21 Jul 2014 03:47:27 -0000",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "X-BeenThere": "dev@dpdk.org",
        "Received": [
            "from mail.mhcomputing.net (master.mhcomputing.net [74.208.46.186])\n\tby dpdk.org (Postfix) with ESMTP id 9BDEC68CB\n\tfor <dev@dpdk.org>; Mon, 21 Jul 2014 05:47:27 +0200 (CEST)",
            "from syslog-sdn.mhcomputing.net\n\t(172-3-139-73.lightspeed.sntcca.sbcglobal.net [172.3.139.73])\n\tby mail.mhcomputing.net (Postfix) with ESMTPSA id 111A980A158;\n\tSun, 20 Jul 2014 20:48:07 -0700 (PDT)"
        ],
        "Subject": "[dpdk-dev] [PATCH 2/4] virtio-net.c: incorrect parens around\n\tequality check",
        "Date": "Sun, 20 Jul 2014 20:47:39 -0700",
        "X-Mailman-Version": "2.1.15",
        "List-Id": "patches and discussions about DPDK <dev.dpdk.org>"
    },
    "content": "Signed-off-by: Matthew Hall <mhall@mhcomputing.net>\n---\n examples/vhost/virtio-net.c | 4 ++--\n 1 file changed, 2 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/examples/vhost/virtio-net.c b/examples/vhost/virtio-net.c\nindex 801607a..5e659c7 100644\n--- a/examples/vhost/virtio-net.c\n+++ b/examples/vhost/virtio-net.c\n@@ -280,8 +280,8 @@ get_config_ll_entry(struct vhost_device_ctx ctx)\n \n \t/* Loop through linked list until the device_fh is found. */\n \twhile (ll_dev != NULL) {\n-\t\tif ((ll_dev->dev.device_fh == ctx.fh))\n-            return ll_dev;\n+\t\tif (ll_dev->dev.device_fh == ctx.fh)\n+\t\t\treturn ll_dev;\n \t\tll_dev = ll_dev->next;\n \t}\n \n",
    "prefixes": [
        "dpdk-dev",
        "2/4"
    ]
}