File pilot-mailsync-0.9.1-warning.patch of Package pilot-mailsync

--- imap-2004f/src/c-client/mail.c
+++ imap-2004f/src/c-client/mail.c
@@ -2792,8 +2792,10 @@
 				/* parse time */
     d = strtoul (s+1,(char **) &s,10);
     if (*s != ':') return NIL;
-    m = strtoul (++s,(char **) &s,10);
-    y = (*s == ':') ? strtoul (++s,(char **) &s,10) : 0;
+    s++;
+    m = strtoul (s,(char **) &s,10);
+    s++;
+    y = (*s == ':') ? strtoul (s,(char **) &s,10) : 0;
 				/* validity check time */
     if ((d > 23) || (m > 59) || (y > 60)) return NIL; 
 				/* set values in elt */
openSUSE Build Service is sponsored by