mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-18 22:26:30 +01:00
cut logging in test app
This commit is contained in:
parent
e799474e00
commit
ea1cc68eb0
1 changed files with 3 additions and 3 deletions
|
@ -374,7 +374,7 @@ check_for_files( gpointer data )
|
||||||
static gint
|
static gint
|
||||||
check_for_files_once( gpointer data )
|
check_for_files_once( gpointer data )
|
||||||
{
|
{
|
||||||
LOG_FUNC();
|
// LOG_FUNC();
|
||||||
LaunchParams* params = (LaunchParams*)data;
|
LaunchParams* params = (LaunchParams*)data;
|
||||||
LinSMSData* storage = getStorage( params );
|
LinSMSData* storage = getStorage( params );
|
||||||
|
|
||||||
|
@ -385,7 +385,7 @@ check_for_files_once( gpointer data )
|
||||||
struct timespec oldestModTime;
|
struct timespec oldestModTime;
|
||||||
|
|
||||||
GDir* dir = g_dir_open( storage->myQueue, 0, NULL );
|
GDir* dir = g_dir_open( storage->myQueue, 0, NULL );
|
||||||
XP_LOGF( "%s: opening queue %s", __func__, storage->myQueue );
|
// XP_LOGF( "%s: opening queue %s", __func__, storage->myQueue );
|
||||||
for ( ; ; ) {
|
for ( ; ; ) {
|
||||||
const gchar* name = g_dir_read_name( dir );
|
const gchar* name = g_dir_read_name( dir );
|
||||||
if ( NULL == name ) {
|
if ( NULL == name ) {
|
||||||
|
@ -431,7 +431,7 @@ check_for_files_once( gpointer data )
|
||||||
nRead = decodeAndDelete( storage, oldestFile, buf,
|
nRead = decodeAndDelete( storage, oldestFile, buf,
|
||||||
sizeof(buf), &fromAddr );
|
sizeof(buf), &fromAddr );
|
||||||
} else {
|
} else {
|
||||||
XP_LOGF( "%s: no file found", __func__ );
|
// XP_LOGF( "%s: no file found", __func__ );
|
||||||
}
|
}
|
||||||
|
|
||||||
unlock_queue( storage );
|
unlock_queue( storage );
|
||||||
|
|
Loading…
Reference in a new issue