commit b40fb7f2818f4677ad39d7e536418650efad8077
Author: Oswald Buddenhagen <o...@users.sf.net>
Date:   Tue Jan 31 15:17:43 2006 +0000

    backport: fix 'isync -w' writing .mbsyncrc to a wrong directory

 src/compat/main.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/compat/main.c b/src/compat/main.c
index 7faf1a3..69d3a51 100644
--- a/src/compat/main.c
+++ b/src/compat/main.c
@@ -331,8 +331,8 @@ main( int argc, char **argv )
                        while ((de = readdir( dir ))) {
                                if (*de->d_name == '.')
                                        continue;
-                               nfsnprintf( path1, sizeof(path1), "%s/%s/cur", 
xmaildir, de->d_name );
-                               if (stat( path1, &st ) || !S_ISDIR( st.st_mode 
))
+                               nfsnprintf( path2, sizeof(path2), "%s/%s/cur", 
xmaildir, de->d_name );
+                               if (stat( path2, &st ) || !S_ISDIR( st.st_mode 
))
                                        continue;
                                global.path = de->d_name;
                                global.box = (inbox && !strcmp( inbox, 
global.path )) ?

------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
_______________________________________________
isync-devel mailing list
isync-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/isync-devel

Reply via email to