[Pkg-wmaker-commits] [wmbiff] 05/06: Indent run.

Doug Torrance dtorrance-guest at moszumanska.debian.org
Thu Aug 20 03:00:01 UTC 2015


This is an automated email from the git hooks/post-receive script.

dtorrance-guest pushed a commit to tag wmbiff_0_3_3
in repository wmbiff.

commit 6c0933537b56eb390dad24b739bab537e06b8af1
Author: jordi <jordi>
Date:   Mon Oct 29 13:54:00 2001 +0000

    Indent run.
---
 wmbiff/Imap4Client.c |  5 +++--
 wmbiff/wmbiff.c      | 17 ++++++++++-------
 2 files changed, 13 insertions(+), 9 deletions(-)

diff --git a/wmbiff/Imap4Client.c b/wmbiff/Imap4Client.c
index 026f4b9..85f3de6 100644
--- a/wmbiff/Imap4Client.c
+++ b/wmbiff/Imap4Client.c
@@ -79,8 +79,9 @@ static void bind_state_to_pcu(Pop3 pc,
 	asprintf(&connection_id, "%s|%s|%s|%d", PCU.userName,
 			 PCU.password, PCU.serverName, PCU.serverPort);
 	for (i = 0; i < FDMAP_SIZE && fdmap[i].cs != NULL; i++);
-	if(i==FDMAP_SIZE) {
-		printf("wmbiff: Tried to open too many IMAP connections. Sorry!\n");
+	if (i == FDMAP_SIZE) {
+		printf
+			("wmbiff: Tried to open too many IMAP connections. Sorry!\n");
 		exit(EXIT_FAILURE);
 	}
 	fdmap[i].user_password_server_port = connection_id;
diff --git a/wmbiff/wmbiff.c b/wmbiff/wmbiff.c
index cfc8773..df37de7 100644
--- a/wmbiff/wmbiff.c
+++ b/wmbiff/wmbiff.c
@@ -1,4 +1,4 @@
-/* $Id: wmbiff.c,v 1.8 2001/10/28 22:22:09 bluehal Exp $ */
+/* $Id: wmbiff.c,v 1.9 2001/10/29 13:54:00 jordi Exp $ */
 
 #define	USE_POLL
 
@@ -84,17 +84,20 @@ void init_biff(char *uconfig_file)
 		strcpy(mbox[0].path, "/var/mail/");
 		strcat(mbox[0].path, m);
 	}
-
 #ifdef WITH_GCRYPT
 	/* gcrypt is a little strange, in that it doesn't 
 	 * seem to initialize it's memory pool by itself. 
 	 * I believe we *expect* "Warning: using insecure memory!"
 	 */
-	if((i=gcry_control( GCRYCTL_INIT_SECMEM, 16384, 0 )) != 0) {
-	  fprintf(stderr, "Error: gcry_control() to initialize secure memory returned non-zero: %d\n", i);
-	  fprintf(stderr, "Message: %s\n", gcry_strerror(gcry_errno()));
-	  fprintf(stderr, "libgcrypt version: %s\n", gcry_check_version(NULL));
-	  fprintf(stderr, "attempting to recover: will fail later if using CRAM-MD5 or APOP authentication. \n");
+	if ((i = gcry_control(GCRYCTL_INIT_SECMEM, 16384, 0)) != 0) {
+		fprintf(stderr,
+				"Error: gcry_control() to initialize secure memory returned non-zero: %d\n",
+				i);
+		fprintf(stderr, "Message: %s\n", gcry_strerror(gcry_errno()));
+		fprintf(stderr, "libgcrypt version: %s\n",
+				gcry_check_version(NULL));
+		fprintf(stderr,
+				"attempting to recover: will fail later if using CRAM-MD5 or APOP authentication. \n");
 	};
 #endif
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/wmbiff.git



More information about the Pkg-wmaker-commits mailing list