summaryrefslogtreecommitdiff
path: root/mail/yatsvrs5/patches/patch-ar
blob: 7072372ba16adedf938a0c5ad0d70b92448eb189 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$NetBSD: patch-ar,v 1.1.1.1 2001/11/15 16:08:43 taca Exp $

--- yatd/apop.c.orig	Mon Jun  4 15:43:51 2001
+++ yatd/apop.c
@@ -43,7 +43,7 @@
   char szApopFile[MAXPATHLEN], szBuf[MAXLINELEN];
   FILE *fp;
   char *p;
-  int nLen;
+  size_t nLen;
 
   sprintf(szApopFile, "%.512s/%.64s",
 	  SysData.pUserHomeDir, YATAPOPFILE);
@@ -56,7 +56,7 @@
     GOTO LBL_ERROR;
   if ((p = strchr(szBuf, '\n')) != NULL)
     *p = '\0';
-  Base64DecodeLine(pszSecret, (size_t *)&nLen, szBuf);
+  Base64DecodeLine(pszSecret, &nLen, szBuf);
 
   fclose(fp);
   return SUCCESS;