summaryrefslogtreecommitdiff
path: root/xdelta3
diff options
context:
space:
mode:
authorjosh.macdonald <jmacd@users.noreply.github.com>2007-12-14 11:24:41 +0000
committerjosh.macdonald <jmacd@users.noreply.github.com>2007-12-14 11:24:41 +0000
commit8f9de43ff27baf20547cbc25d3472b13fc49c24d (patch)
tree11fe69efe031de9af4de9f5b5058ed2f667e80bf /xdelta3
parenta80f2ee447ecc9c22f8e2ea8ce9651fc23a1bac2 (diff)
Fix another snprintf issue. (Wish I had "patch" on my cygwin box... Wish
I wasn't using a Cygwin box for dev purposes.)
Diffstat (limited to 'xdelta3')
-rw-r--r--xdelta3/xdelta3-main.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/xdelta3/xdelta3-main.h b/xdelta3/xdelta3-main.h
index 4645c8f..9ce7de1 100644
--- a/xdelta3/xdelta3-main.h
+++ b/xdelta3/xdelta3-main.h
@@ -1153,7 +1153,7 @@ snprintf_func (char *str, int n, char *fmt, ...)
1153 * VC(UT "trying to be portable: %d\n", x)VE; 1153 * VC(UT "trying to be portable: %d\n", x)VE;
1154 */ 1154 */
1155#define SNPRINTF_BUFSIZE 1024 1155#define SNPRINTF_BUFSIZE 1024
1156#define VC do { if (((ret = snprintf 1156#define VC do { if (((ret = snprintf_func
1157#define UT (char*)xfile->snprintf_buf, SNPRINTF_BUFSIZE, 1157#define UT (char*)xfile->snprintf_buf, SNPRINTF_BUFSIZE,
1158#define VE ) >= SNPRINTF_BUFSIZE \ 1158#define VE ) >= SNPRINTF_BUFSIZE \
1159 && (ret = main_print_overflow(ret)) != 0) \ 1159 && (ret = main_print_overflow(ret)) != 0) \