[Pkg-wmaker-commits] [wmbiff] 08/84: indent run
Doug Torrance
dtorrance-guest at moszumanska.debian.org
Thu Aug 20 03:01:46 UTC 2015
This is an automated email from the git hooks/post-receive script.
dtorrance-guest pushed a commit to tag wmbiff_0_4_10
in repository wmbiff.
commit 3361babf90d22969bb000fda3858129da85afbe7
Author: bluehal <bluehal>
Date: Sat Jun 1 06:02:05 2002 +0000
indent run
---
wmbiff/Client.h | 11 ++++++-----
wmbiff/ShellClient.c | 20 +++++++++++---------
wmbiff/charutil.c | 17 +++++++++--------
wmbiff/mboxClient.c | 6 +++---
4 files changed, 29 insertions(+), 25 deletions(-)
diff --git a/wmbiff/Client.h b/wmbiff/Client.h
index 127a67f..0a1ea19 100644
--- a/wmbiff/Client.h
+++ b/wmbiff/Client.h
@@ -1,11 +1,11 @@
-/* $Id: Client.h,v 1.23 2002/06/01 05:59:36 bluehal Exp $ */
+/* $Id: Client.h,v 1.24 2002/06/01 06:02:05 bluehal Exp $ */
/* Author : Scott Holden ( scotth at thezone.net )
Modified : Yong-iL Joh ( tolkien at mizi.com )
Modified : Jorge Garc�a ( Jorge.Garcia at uv.es )
*
* Email Checker Pop3/Imap4/Licq/Gicu/mbox/maildir/finger
*
- * Last Updated : $Date: 2002/06/01 05:59:36 $
+ * Last Updated : $Date: 2002/06/01 06:02:05 $
*
*/
@@ -85,12 +85,13 @@ int shellCreate(Pop3 pc, const char *str);
int mboxCreate(Pop3 pc, const char *str);
int maildirCreate(Pop3 pc, char *str);
FILE *openMailbox(Pop3 pc, const char *mbox_filename);
-/* backtickExpand returns null on failure */ /*@null@*/
+/* backtickExpand returns null on failure *//*@null@ */
char *backtickExpand(Pop3 pc, const char *path);
int fileHasChanged(const char *mbox_filename, time_t * atime,
time_t * mtime, off_t * size);
-int grabCommandOutput(Pop3 pc, const char *command, /*@out@*/ char **output);
-int exists(const char *filename); /* test -e */
+int grabCommandOutput(Pop3 pc, const char *command, /*@out@ */
+ char **output);
+int exists(const char *filename); /* test -e */
/* _NONE is for silent operation. _ERROR is for things that should
be printed assuming that the user might possibly see them. _INFO is
diff --git a/wmbiff/ShellClient.c b/wmbiff/ShellClient.c
index 1a27bc3..bfb6cab 100644
--- a/wmbiff/ShellClient.c
+++ b/wmbiff/ShellClient.c
@@ -26,7 +26,7 @@
a checking program fails. */
#ifdef __LCLINT__
-void (*old_signal_handler)(int);
+void (*old_signal_handler) (int);
#else
sig_t old_signal_handler;
#endif
@@ -42,7 +42,7 @@ FILE *kind_popen(const char *command, const char *type)
if (ret == NULL) {
DMA(DEBUG_ERROR, "popen: error while reading '%s': %s\n",
command, strerror(errno));
- (void)signal(SIGCHLD, old_signal_handler);
+ (void) signal(SIGCHLD, old_signal_handler);
old_signal_handler = NULL;
}
return (ret);
@@ -55,13 +55,14 @@ FILE *kind_popen(const char *command, const char *type)
so no error checking can be done here until that's disabled */
/* returns as a mailcheck function does: -1 on fail, 0 on success */
-static int kind_pclose(/*@only@*/ FILE * F,
- const char *command,
- /*@null@*/ Pop3 pc) {
+static int kind_pclose( /*@only@ */ FILE * F,
+ const char *command,
+ /*@null@ */ Pop3 pc)
+{
int exit_status = pclose(F);
if (old_signal_handler != NULL) {
- (void)signal(SIGCHLD, old_signal_handler);
+ (void) signal(SIGCHLD, old_signal_handler);
old_signal_handler = NULL;
}
@@ -80,7 +81,8 @@ static int kind_pclose(/*@only@*/ FILE * F,
return (exit_status);
}
-int grabCommandOutput(Pop3 pc, const char *command, /*@out@*/ char **output)
+int grabCommandOutput(Pop3 pc, const char *command, /*@out@ */
+ char **output)
{
FILE *F;
char linebuf[512];
@@ -101,7 +103,7 @@ int grabCommandOutput(Pop3 pc, const char *command, /*@out@*/ char **output)
}
/* returns null on failure */
-/*@null@*/
+/*@null@*/
char *backtickExpand(Pop3 pc, const char *path)
{
char bigbuffer[1024];
@@ -179,7 +181,7 @@ int shellCmdCheck(Pop3 pc)
}
/* see if we should print as new or not */
pc->UnreadMsgs = (strstr(commandOutput, "new")) ? 1 : 0;
- pc->TotalMsgs = -1; /* we might alternat numeric /string */
+ pc->TotalMsgs = -1; /* we might alternat numeric /string */
} else {
SH_DM(pc, DEBUG_ERROR,
"'%s' returned something other than an integer message count"
diff --git a/wmbiff/charutil.c b/wmbiff/charutil.c
index 6b8e853..9d7e924 100644
--- a/wmbiff/charutil.c
+++ b/wmbiff/charutil.c
@@ -1,4 +1,4 @@
-/* $Id: charutil.c,v 1.10 2002/04/29 02:01:51 bluehal Exp $ */
+/* $Id: charutil.c,v 1.11 2002/06/01 06:02:06 bluehal Exp $ */
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
@@ -228,11 +228,12 @@ void chomp(char *s)
s[l] = '\0';
}
-char *strdup_ordie(const char *c) {
- char *ret = strdup(c);
- if(ret == NULL) {
- fprintf(stderr, "ran out of memory\n");
- exit(EXIT_FAILURE);
- }
- return(ret);
+char *strdup_ordie(const char *c)
+{
+ char *ret = strdup(c);
+ if (ret == NULL) {
+ fprintf(stderr, "ran out of memory\n");
+ exit(EXIT_FAILURE);
+ }
+ return (ret);
}
diff --git a/wmbiff/mboxClient.c b/wmbiff/mboxClient.c
index 044e2ee..0010b93 100644
--- a/wmbiff/mboxClient.c
+++ b/wmbiff/mboxClient.c
@@ -1,4 +1,4 @@
-/* $Id: mboxClient.c,v 1.13 2002/05/03 05:43:51 bluehal Exp $ */
+/* $Id: mboxClient.c,v 1.14 2002/06/01 06:02:06 bluehal Exp $ */
/* Author: Yong-iL Joh <tolkien at mizi.com>
Modified: Jorge Garc�a <Jorge.Garcia at uv.es>
Rob Funk <rfunk at funknet.net>
@@ -6,7 +6,7 @@
*
* MBOX checker.
*
- * Last Updated : $Date: 2002/05/03 05:43:51 $
+ * Last Updated : $Date: 2002/06/01 06:02:06 $
*
*/
@@ -97,7 +97,7 @@ int fileHasChanged(const char *mbox_filename, time_t * atime,
DMA(DEBUG_INFO, " %s was changed,"
" mTIME: %lu -> %lu; SIZE: %lu -> %lu\n",
mbox_filename, *mtime, st.st_mtime,
- (unsigned long) *size, (unsigned long)st.st_size);
+ (unsigned long) *size, (unsigned long) st.st_size);
*atime = st.st_atime;
*mtime = st.st_mtime;
--
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