1
0
mirror of https://github.com/gryf/gryf-overlay.git synced 2026-04-10 17:03:35 +02:00

initial import

This commit is contained in:
root
2010-02-09 21:25:29 +01:00
commit b2719dc011
1080 changed files with 41656 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
--- orig/scrobbler.c
+++ mod/scrobbler.c
@@ -488,6 +488,7 @@
{
GString *submitentry;
int nsubmit;
+ int i;
int wait;
if(sc_submit_timeout < time(NULL) && sc_bad_users < 3)
@@ -512,7 +513,12 @@
pthread_mutex_lock(&mutex);
#ifdef ALLOW_MULTIPLE
- q_free();
+ if (nsubmit < q_len()) {
+ for (i=0; i<nsubmit; i++)
+ q_get();
+ } else {
+ q_free();
+ }
#else
q_get();
#endif