commit ee8b835c55e95eee3ce06cfb57478873289a3658
Author: Oswald Buddenhagen <[email protected]>
Date: Mon Mar 23 19:00:27 2015 +0100
fix out-of-Path INBOX never being matched by Patterns
"(null)I" really doesn't cut it.
amends cf0f32f8.
src/main.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/main.c b/src/main.c
index 770de0d..167704e 100644
--- a/src/main.c
+++ b/src/main.c
@@ -723,7 +723,7 @@ store_opened( store_t *ctx, void *aux )
const char *pat = cpat->string;
if (*pat != '!') {
char buf[8];
- int bufl = snprintf( buf, sizeof(buf), "%s%s",
mvars->chan->boxes[t], pat );
+ int bufl = snprintf( buf, sizeof(buf), "%s%s",
nz( mvars->chan->boxes[t], "" ), pat );
/* Partial matches like "INB*" or even "*" are
not considered,
* except implicity when the INBOX lives under
Path. */
if (starts_with( buf, bufl, "INBOX", 5 )) {
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
isync-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/isync-devel