about summary refs log tree commit diff
path: root/other
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2021-03-23 23:48:01 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2021-03-23 23:48:01 +0000
commit2f62a506b6580aaf1fd176eff7f35741bf5c68ba (patch)
tree0c4c61bbdcf39785c80be560f45934b1fdd78e53 /other
parentc99a377d51e2980dcd4766b533c2d05d5293e756 (diff)
downloadnetpbm-mirror-2f62a506b6580aaf1fd176eff7f35741bf5c68ba.tar.gz
netpbm-mirror-2f62a506b6580aaf1fd176eff7f35741bf5c68ba.tar.xz
netpbm-mirror-2f62a506b6580aaf1fd176eff7f35741bf5c68ba.zip
whitespace
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@4061 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'other')
-rw-r--r--other/pamexec.c15
1 files changed, 7 insertions, 8 deletions
diff --git a/other/pamexec.c b/other/pamexec.c
index c3a1ee78..45fed4e3 100644
--- a/other/pamexec.c
+++ b/other/pamexec.c
@@ -65,7 +65,7 @@ parseCommandLine(int argc, const char ** argv,
     pm_optParseOptions3(&argc, (char **)argv, opt, sizeof(opt), 0);
         /* Uses and sets argc, argv, and some of *cmdlineP and others. */
 
-    if (argc-1 < 1) 
+    if (argc-1 < 1)
         pm_error("You must specify at least one argument: the shell command "
                  "to execute");
     else {
@@ -92,7 +92,7 @@ pipeOneImage(FILE * const infileP,
     struct pam inpam;
     struct pam outpam;
     enum pm_check_code checkRetval;
-    
+
     unsigned int row;
     tuple * tuplerow;
 
@@ -133,7 +133,7 @@ doOneImage(FILE *        const ifP,
     ofP = popen(command, "w");
 
     if (ofP == NULL)
-        pm_asprintf(errorP, 
+        pm_asprintf(errorP,
                     "Failed to start shell to run command '%s'.  "
                     "errno = %d (%s)",
                     command, errno, strerror(errno));
@@ -141,7 +141,7 @@ doOneImage(FILE *        const ifP,
         int rc;
 
         pipeOneImage(ifP, ofP);
-            
+
         rc = pclose(ofP);
 
         if (check && rc != 0)
@@ -169,12 +169,12 @@ main(int argc, const char *argv[]) {
     pm_proginit(&argc, argv);
 
     parseCommandLine(argc, argv, &cmdline);
-    
+
     ifP = pm_openr(cmdline.inputFileName);
 
     for (eof = FALSE, imageSeq = 0; !eof; ++imageSeq) {
         const char * error;
-        
+
         doOneImage(ifP, cmdline.command, cmdline.check, &error);
 
         if (error) {
@@ -185,9 +185,8 @@ main(int argc, const char *argv[]) {
         pnm_nextimage(ifP, &eof);
     }
     pm_close(ifP);
-    
+
     return 0;
 }
 
 
-