wait INTERVAL if needed on submitting, and don't try to submit data
authorIlkka Ollakka <ileoo@videolan.org>
Fri, 24 Aug 2007 17:48:22 +0000 (17:48 +0000)
committerIlkka Ollakka <ileoo@videolan.org>
Fri, 24 Aug 2007 17:48:22 +0000 (17:48 +0000)
before handshake goes ok

modules/misc/audioscrobbler.c

index 25d1832..d28b6be 100644 (file)
@@ -365,6 +365,10 @@ static void Run( intf_thread_t *p_this )
                         vlc_mutex_unlock ( &p_sys->lock );
                         break;
                 }
+                /* handshake is done or failed, lets start from 
+                 * beginning to check it out and wait INTERVAL if needed
+                 */
+                continue;
             }
 
             msg_Dbg( p_this, "Going to submit some data..." );