diff options
author | josh.macdonald@gmail.com <josh.macdonald@gmail.com@a3eca27d-f21b-0410-9b4a-6511e771f64e> | 2012-06-27 09:32:08 +0000 |
---|---|---|
committer | josh.macdonald@gmail.com <josh.macdonald@gmail.com@a3eca27d-f21b-0410-9b4a-6511e771f64e> | 2012-06-27 09:32:08 +0000 |
commit | cfb1068766390147371c14211da6d8cfac47db5c (patch) | |
tree | f0c678831f846758d0daf672a54565ed0853599a /xdelta3/xdelta3-main.h | |
parent | df30203f7af37f3a81033300f4a4790cd330d784 (diff) |
Fix a few more string shenanigans. Basic tests in WIN32, builds in cygwin too.
Comments out Python/Swig, will make them conditional later (I can't figure this out).
Diffstat (limited to 'xdelta3/xdelta3-main.h')
-rw-r--r-- | xdelta3/xdelta3-main.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xdelta3/xdelta3-main.h b/xdelta3/xdelta3-main.h index 6ba18b7..eac6ca5 100644 --- a/xdelta3/xdelta3-main.h +++ b/xdelta3/xdelta3-main.h | |||
@@ -2691,11 +2691,11 @@ main_set_appheader (xd3_stream *stream, main_file *input, main_file *sfile) | |||
2691 | 2691 | ||
2692 | if (sfile->filename == NULL) | 2692 | if (sfile->filename == NULL) |
2693 | { | 2693 | { |
2694 | snprintf ((char*)appheader_used, len, "%s/%s", iname, icomp); | 2694 | snprintf_func ((char*)appheader_used, len, "%s/%s", iname, icomp); |
2695 | } | 2695 | } |
2696 | else | 2696 | else |
2697 | { | 2697 | { |
2698 | snprintf ((char*)appheader_used, len, "%s/%s/%s/%s", | 2698 | snprintf_func ((char*)appheader_used, len, "%s/%s/%s/%s", |
2699 | iname, icomp, sname, scomp); | 2699 | iname, icomp, sname, scomp); |
2700 | } | 2700 | } |
2701 | } | 2701 | } |