Return-Path: X-Original-To: apmail-qpid-commits-archive@www.apache.org Delivered-To: apmail-qpid-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9554517BBE for ; Fri, 10 Oct 2014 12:41:19 +0000 (UTC) Received: (qmail 16503 invoked by uid 500); 10 Oct 2014 12:41:19 -0000 Delivered-To: apmail-qpid-commits-archive@qpid.apache.org Received: (qmail 16473 invoked by uid 500); 10 Oct 2014 12:41:19 -0000 Mailing-List: contact commits-help@qpid.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@qpid.apache.org Delivered-To: mailing list commits@qpid.apache.org Received: (qmail 16463 invoked by uid 99); 10 Oct 2014 12:41:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Oct 2014 12:41:19 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Oct 2014 12:41:18 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 5F73123888FE; Fri, 10 Oct 2014 12:40:58 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1630786 - /qpid/proton/branches/examples/proton-c/src/proton-dump.c Date: Fri, 10 Oct 2014 12:40:58 -0000 To: commits@qpid.apache.org From: gsim@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20141010124058.5F73123888FE@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: gsim Date: Fri Oct 10 12:40:58 2014 New Revision: 1630786 URL: http://svn.apache.org/r1630786 Log: PROTON-650: use pn_compat utilities for cross platform builds Modified: qpid/proton/branches/examples/proton-c/src/proton-dump.c Modified: qpid/proton/branches/examples/proton-c/src/proton-dump.c URL: http://svn.apache.org/viewvc/qpid/proton/branches/examples/proton-c/src/proton-dump.c?rev=1630786&r1=1630785&r2=1630786&view=diff ============================================================================== --- qpid/proton/branches/examples/proton-c/src/proton-dump.c (original) +++ qpid/proton/branches/examples/proton-c/src/proton-dump.c Fri Oct 10 12:40:58 2014 @@ -19,9 +19,9 @@ * */ -#include +#include "pncompat/misc_funcs.inc" + #include -#include #include #include #include @@ -101,7 +101,7 @@ int dump(const char *file) } void usage(char* prog) { - printf("Usage: %s [FILE1] [FILEn] ...\n", basename(prog)); + printf("Usage: %s [FILE1] [FILEn] ...\n", prog); printf("Displays the content of an AMQP dump file containing frame data.\n"); printf("\n [FILEn] Dump file to be displayed.\n\n"); } --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org For additional commands, e-mail: commits-help@qpid.apache.org