diff options
Diffstat (limited to 'mail/isync/patches/patch-ac')
-rw-r--r-- | mail/isync/patches/patch-ac | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/mail/isync/patches/patch-ac b/mail/isync/patches/patch-ac new file mode 100644 index 00000000000..ca74449f45a --- /dev/null +++ b/mail/isync/patches/patch-ac @@ -0,0 +1,13 @@ +$NetBSD: patch-ac,v 1.1.1.1 2002/12/07 15:12:41 cjep Exp $ + +--- sync.c.orig Mon Jan 28 19:19:56 2002 ++++ sync.c +@@ -48,7 +48,7 @@ set_uid (DBM * db, const char *f, unsign + + key.dptr = (void *) f; + s = strchr (f, ':'); +- key.dsize = s ? (size_t) (s - key.dptr) : strlen (f); ++ key.dsize = s ? (size_t) (s - (char *)key.dptr) : strlen (f); + val.dptr = (void *) &uid; + val.dsize = sizeof (uid); + dbm_store (db, key, val, DBM_REPLACE); |