[med-svn] [aghermann] 06/60: kill fprintf(srderr, ...) in some hideouts

andrei zavada hmmr-guest at alioth.debian.org
Mon Nov 4 23:49:51 UTC 2013


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

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

commit 665eaee531406255563ce366465b4f1eee522cdd
Author: Andrei Zavada <johnhommer at gmail.com>
Date:   Fri Oct 4 15:21:31 2013 +0300

    kill fprintf(srderr,...) in some hideouts
---
 upstream/src/aghermann/ui/sm/sm.cc |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/upstream/src/aghermann/ui/sm/sm.cc b/upstream/src/aghermann/ui/sm/sm.cc
index 3803979..fd1f816 100644
--- a/upstream/src/aghermann/ui/sm/sm.cc
+++ b/upstream/src/aghermann/ui/sm/sm.cc
@@ -16,6 +16,7 @@
 #include <libconfig.h++>
 
 #include "common/fs.hh"
+#include "aghermann/globals.hh"
 #include "aghermann/expdesign/forward-decls.hh"  // for edf_file_counter
 #include "aghermann/ui/misc.hh"
 #include "aghermann/ui/globals.hh"
@@ -232,8 +233,7 @@ get_dir( const int idx) const
 
                 if ( i++ == idx ) {
                         if ( not agh::fs::exists_and_is_writable( r) ) {
-                                fprintf( stderr, "SSessionChooser::get_dir(%d): entry \"%s\" does not exist or is not a dir\n",
-                                         idx, r.c_str());
+                                APPLOG_WARN( "get_dir(%d): entry \"%s\" does not exist or is not a dir", idx, r.c_str());
                                 gtk_list_store_remove( mSessionChooserList, &iter);
                                 return string("");
                         } else

-- 
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