]> git.sesse.net Git - vlc/commitdiff
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 25d18328cb7d5719c9d7b9a5b48a2894247eb347..d28b6beec211314bcdecc3dde0a21d6ab3f30789 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..." );