CVS commit by ossi: 

unscrew lf=>crlf conversion and tuid insertion


  M +3 -3      sync.c   1.83


--- isync/src/sync.c  #1.82:1.83
@@ -240,5 +240,5 @@ copy_msg( store_t *ctx[], int t, message
                        crd = -1;
                else if (scr < tcr)
-                       crd = 1;
+                       cra = 1;
                extra = 0, i = 0;
                if (tuid) {
@@ -252,6 +252,6 @@ copy_msg( store_t *ctx[], int t, message
                                else if (c == '\n') {
                                        extra += cra;
-                                       if (i - 2 + !scr == start) {
-                                               sbreak = ebreak = i - 2 + !scr; 
// precalc this!
+                                       if (i - 1 - scr == start) {
+                                               sbreak = ebreak = i - 1 - scr;
                                                goto oke;
                                        }




-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
isync-devel mailing list
isync-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/isync-devel

Reply via email to