diff options
Diffstat (limited to 'xdelta3/xdelta3-main.h')
-rwxr-xr-x | xdelta3/xdelta3-main.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/xdelta3/xdelta3-main.h b/xdelta3/xdelta3-main.h index 06190d0..e80b332 100755 --- a/xdelta3/xdelta3-main.h +++ b/xdelta3/xdelta3-main.h | |||
@@ -84,7 +84,7 @@ const char* xd3_mainerror(int err_num); | |||
84 | #define PRINTHDR_SPECIAL -4378291 | 84 | #define PRINTHDR_SPECIAL -4378291 |
85 | 85 | ||
86 | /* The number of soft-config variables. */ | 86 | /* The number of soft-config variables. */ |
87 | #define XD3_SOFTCFG_VARCNT 1 | 87 | #define XD3_SOFTCFG_VARCNT 10 |
88 | 88 | ||
89 | /* this is used as in XPR(NT XD3_LIB_ERRMSG (stream, ret)) to print an error message | 89 | /* this is used as in XPR(NT XD3_LIB_ERRMSG (stream, ret)) to print an error message |
90 | * from the library. */ | 90 | * from the library. */ |
@@ -2278,7 +2278,8 @@ main_input (xd3_cmd cmd, | |||
2278 | (got < XD3_SOFTCFG_VARCNT-1 && *e == 0) || | 2278 | (got < XD3_SOFTCFG_VARCNT-1 && *e == 0) || |
2279 | (got == XD3_SOFTCFG_VARCNT-1 && *e != 0)) | 2279 | (got == XD3_SOFTCFG_VARCNT-1 && *e != 0)) |
2280 | { | 2280 | { |
2281 | XPR(NT "invalid string match specifier (-C)\n"); | 2281 | XPR(NT "invalid string match specifier (-C) %d: %s\n", |
2282 | got, s); | ||
2282 | return EXIT_FAILURE; | 2283 | return EXIT_FAILURE; |
2283 | } | 2284 | } |
2284 | } | 2285 | } |