view common/debug.h @ 217:83a015f2e078

Remove leftover incrementation of i from former loop style. Fixes a crash when adding only one certificate.
author Andre Heinecke <andre.heinecke@intevation.de>
date Wed, 26 Mar 2014 20:14:22 +0100
parents 7b9545ad76f6
children 29467940b07b
line wrap: on
line source
#ifndef DEBUG_H
#define DEBUG_H

/**
 * @file  debug.h
 * @brief Helper macros for debugging
 */

/**
 * @brief Debug printf
 *
 * Prints to stderr if RELEASE_BUILD is not defined.
 */
#ifndef RELEASE_BUILD
#define DEBUGFPRINT(fmt, ...) fprintf(stderr, fmt, ##__VA_ARGS__);
#else
#define DEBUGFPRINT(fmt, ...)
#endif

#endif

http://wald.intevation.org/projects/trustbridge/