[med-svn] [aghermann] 37/85: some whitespace

andrei zavada hmmr-guest at alioth.debian.org
Thu Sep 26 23:46:28 UTC 2013


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

hmmr-guest pushed a commit to branch master
in repository aghermann.

commit 75d2a8a273c1ceec98119e375f0ab39fb9365de7
Author: Andrei Zavada <johnhommer at gmail.com>
Date:   Sun Sep 15 02:29:11 2013 +0300

    some whitespace
---
 upstream/src/aghermann/patterns/patterns.cc |   25 +++++++++++++------------
 1 file changed, 13 insertions(+), 12 deletions(-)

diff --git a/upstream/src/aghermann/patterns/patterns.cc b/upstream/src/aghermann/patterns/patterns.cc
index 9ce6dd2..35ca0b8 100644
--- a/upstream/src/aghermann/patterns/patterns.cc
+++ b/upstream/src/aghermann/patterns/patterns.cc
@@ -103,7 +103,7 @@ load( const string& fname_)
         try {
                 {
                         struct stat attr;
-                        if ( 0 != lstat( fname, &attr) ||!S_ISREG (attr.st_mode) )
+                        if ( 0 != lstat( fname, &attr) || !S_ISREG (attr.st_mode) )
                                 return -1;
                 }
 
@@ -112,17 +112,18 @@ load( const string& fname_)
 
                 size_t  full_sample;
                 double  t1, t2, t3, t4;
-                if ( 15 != fscanf( fd,
-                                   "%lg  %u %lg %lg  %lg %lg %u"
-                                   " %lg %lg %lg %lg"
-                                   " %zu %zu %zu %zu\n"
-                                   "--DATA--\n",
-                                   &Pp.env_scope,
-                                   &Pp.bwf_order, &Pp.bwf_ffrom, &Pp.bwf_fupto,
-                                   &Pp.dzcdf_step, &Pp.dzcdf_sigma, &Pp.dzcdf_smooth,
-                                   &t1, &t2, &t3, &t4,
-                                   &samplerate, &context.first, &context.second,
-                                   &full_sample) ) {
+                if ( 15 != fscanf(
+                             fd,
+                             "%lg  %u %lg %lg  %lg %lg %u"
+                             " %lg %lg %lg %lg"
+                             " %zu %zu %zu %zu\n"
+                             "--DATA--\n",
+                             &Pp.env_scope,
+                             &Pp.bwf_order, &Pp.bwf_ffrom, &Pp.bwf_fupto,
+                             &Pp.dzcdf_step, &Pp.dzcdf_sigma, &Pp.dzcdf_smooth,
+                             &t1, &t2, &t3, &t4,
+                             &samplerate, &context.first, &context.second,
+                             &full_sample) ) {
                         throw invalid_argument ("Bogus data in header");
                 }
 

-- 
Alioth's /git/debian-med/git-commit-notice on /srv/git.debian.org/git/debian-med/aghermann.git



More information about the debian-med-commit mailing list