Author: post
Date: 2012-01-22 16:04:58 +0100 (Sun, 22 Jan 2012)
New Revision: 4109

Modified:
   trunk/librawstudio/rs-io.c
Log:
Fix when warning is issued.

Modified: trunk/librawstudio/rs-io.c
===================================================================
--- trunk/librawstudio/rs-io.c  2012-01-22 14:17:27 UTC (rev 4108)
+++ trunk/librawstudio/rs-io.c  2012-01-22 15:04:58 UTC (rev 4109)
@@ -292,9 +292,11 @@
        do {
                g_usleep(1000);
                if (--tries_left <= 0)
+               {
+                       g_warning("IO Lock was not released after 10 seconds, 
ignoring IO lock");
                        return;
+               }
        } while (FALSE == g_static_rec_mutex_trylock(&io_lock));
-       g_warning("IO Lock was not released after 10 seconds, ignoring IO 
lock");
 }
 
 /**


_______________________________________________
Rawstudio-commit mailing list
[email protected]
http://rawstudio.org/cgi-bin/mailman/listinfo/rawstudio-commit

Reply via email to