Return-Path: <awaresystems.be+caf_=filtered=awaresystems.be@gmail.com>
Delivered-To: filtered@awaresystems.be
Received: from mx-g.one.com (mx-g.one.com [91.198.169.54])
	by mail6.local.one.com (Postfix) with ESMTP id 28BD030016D24B
	for <filtered@awaresystems.be>; Mon, 29 Dec 2014 19:10:56 +0000 (UTC)
X-Virus-Scanned: by one.com
Received-SPF: pass (mx-g: domain of awaresystems.be+caf_=filtered=awaresystems.be@gmail.com designates 209.85.217.178 as permitted sender)
X-Greylist: whitelisted by SQLgrey-1.8.0-rc2
Received: from mail-lb0-f178.google.com (mail-lb0-f178.google.com [209.85.217.178])
	by mx-g.one.com (Postfix) with ESMTP id EC436398565
	for <filtered@awaresystems.be>; Mon, 29 Dec 2014 19:10:55 +0000 (UTC)
Received: by mail-lb0-f178.google.com with SMTP id f15so12719352lbj.37
        for <filtered@awaresystems.be>; Mon, 29 Dec 2014 11:10:55 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-original-authentication-results:delivered-to:delivered-to
         :mime-version:in-reply-to:references:date:message-id:from:to:cc
         :subject:precedence:list-id:list-unsubscribe:list-archive:list-post
         :list-help:list-subscribe:content-type:content-transfer-encoding
         :sender:errors-to;
        bh=aWEVg+uqQ88AFFwHYHQ6Xp5ARiZLYPv/1DH0sootNM8=;
        b=Y26ysCSTx7V2OjJlENObx80xQHDiX2det3MCVNgGoh7TyF/LwALUG9X18J+OxJYygC
         qTUfqYZD9jPDjrBHqHZkciLDHyD7M9qAJaRMO9DtLY9Y9yV0/733ryg7Pyh61ggT8H6X
         3r3Lo+8pECtl7+Kbskxz/EpYJ4XMQ+2KAdH5ltRqO30SDhLO2Rtt6FyadTCV47cpvEy+
         S8dOBvSS2g3FVQg7YdhFjA0g6V+UDRFmqguM1S2Kugo6S79IpVJLUPoIEwIgdQkmVP/7
         ZCQ8t0mrnMDOw1TbBZnXduwvrMKyDpOBxxNwR+tdZXtvI9Ah/AFkRPb5VbMgkklI5Q1m
         2m+Q==
X-Original-Authentication-Results: mx.google.com;       spf=none (google.com: tiff-bounces@lists.maptools.org does not designate permitted sender hosts) smtp.mail=tiff-bounces@lists.maptools.org
X-Received: by 10.112.17.102 with SMTP id n6mr57072581lbd.39.1419880255579;
        Mon, 29 Dec 2014 11:10:55 -0800 (PST)
X-Forwarded-To: filtered@awaresystems.be
X-Forwarded-For: awaresystems.be@gmail.com filtered@awaresystems.be
Delivered-To: awaresystems.be@gmail.com
Received: by 10.114.181.147 with SMTP id dw19csp2032144ldc;
        Mon, 29 Dec 2014 11:10:55 -0800 (PST)
X-Received: by 10.153.5.1 with SMTP id ci1mr52166466lad.67.1419880253902;
        Mon, 29 Dec 2014 11:10:53 -0800 (PST)
Authentication-Results: mx.google.com;
       spf=none (google.com: tiff-bounces@lists.maptools.org does not designate permitted sender hosts) smtp.mail=tiff-bounces@lists.maptools.org
Received-SPF: none (google.com: tiff-bounces@lists.maptools.org does not designate permitted sender hosts) client-ip=195.47.247.148;
Received: by 10.152.45.225 with POP3 id q1mf13174611lam.11;
        Mon, 29 Dec 2014 11:10:53 -0800 (PST)
X-Gmail-Fetch-Info: info@awaresystems.be 1 pop.awaresystems.be 110 info@awaresystems.be
Delivered-To: info@awaresystems.be
Received: from mx-w.one.com (mx-w.one.com [195.47.247.148])
	by mail6.local.one.com (Postfix) with ESMTP id 3CB5030016D258
	for <info@awaresystems.be>; Mon, 29 Dec 2014 18:03:40 +0000 (UTC)
X-Greylist: domain auto-whitelisted by SQLgrey-1.8.0-rc2
Received: from lists.maptools.org (ks365428.kimsufi.com [94.23.4.142])
	by mx-w.one.com (Postfix) with ESMTP id 1C9CC21153B08
	for <info@awaresystems.be>; Mon, 29 Dec 2014 18:03:39 +0000 (UTC)
Received: from [10.1.0.241] (localhost.localdomain [127.0.0.1])
	by lists.maptools.org (Postfix) with ESMTP id CAC8535C03B;
	Mon, 29 Dec 2014 13:02:50 -0500 (EST)
Received: from mail-qa0-f41.google.com (mail-qa0-f41.google.com
	[209.85.216.41])
	by lists.maptools.org (Postfix) with ESMTPS id 2D9AD35C023
	for <tiff@lists.maptools.org>; Mon, 29 Dec 2014 13:02:33 -0500 (EST)
Received: by mail-qa0-f41.google.com with SMTP id s7so9492938qap.14
	for <tiff@lists.maptools.org>; Mon, 29 Dec 2014 10:02:41 -0800 (PST)
MIME-Version: 1.0
X-Received: by 10.140.44.134 with SMTP id g6mr35242222qga.85.1419876161469;
	Mon, 29 Dec 2014 10:02:41 -0800 (PST)
Received: by 10.96.141.5 with HTTP; Mon, 29 Dec 2014 10:02:41 -0800 (PST)
In-Reply-To: <CAK8GPyDXjRQVRYLJjJWr9LH7nJQRdpo3Xyrp7agGV=5zeHnDPg@mail.gmail.com>
References: <CAK8GPyD-YJHuShe7jrzn3DUbmiUyZdyp7k6jLhXeTPR1C4GSQQ@mail.gmail.com>
	<CAAcuQeb-2LHbdxCZwCqHzkfL4EC_Br-6K7QMELigxdw5oUzAqw@mail.gmail.com>
	<CAK8GPyDXjRQVRYLJjJWr9LH7nJQRdpo3Xyrp7agGV=5zeHnDPg@mail.gmail.com>
Date: Mon, 29 Dec 2014 13:02:41 -0500
Message-ID: <CAAcuQebMh-AnxkjsdkxxtZPLez6LEaSP-VC3SaNH8-Yv20P3Fw@mail.gmail.com>
From: Olivier Paquet <olivier.paquet@gmail.com>
To: Aaron Boxer <boxerab@gmail.com>
Cc: TIFF mailing list <tiff@lists.maptools.org>
Subject: Re: [Tiff] Windows Error Dialog
X-BeenThere: tiff@lists.maptools.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: TIFF and libtiff discussion <tiff.lists.maptools.org>
List-Unsubscribe: <http://lists.maptools.org/mailman/listinfo/tiff>,
	<mailto:tiff-request@lists.maptools.org?subject=unsubscribe>
List-Archive: <http://lists.maptools.org/mailman/private/tiff>
List-Post: <mailto:tiff@lists.maptools.org>
List-Help: <mailto:tiff-request@lists.maptools.org?subject=help>
List-Subscribe: <http://lists.maptools.org/mailman/listinfo/tiff>,
	<mailto:tiff-request@lists.maptools.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: tiff-bounces@lists.maptools.org
Errors-To: tiff-bounces@lists.maptools.org

2014-12-29 12:27 GMT-05:00 Aaron Boxer <boxerab@gmail.com>:
> Unfortunately, when I set an error handler, the va_list parameter is
> garbled.
>
> Here is my simple error handler:
>
> void MyTiffErrorHandler(const char *module, const char *fmt, va_list ap) {
>         printf(fmt, ap);
> }

That's a C problem. You need vprintf, not printf.

Olivier
_______________________________________________
Tiff mailing list: Tiff@lists.maptools.org
http://lists.maptools.org/mailman/listinfo/tiff
http://www.remotesensing.org/libtiff/
