Here is the patch let me know if it is useful.
On Wed, Feb 26, 2003 at 11:53:56AM +0100, Markus 'guruz' Goetz wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Wednesday 26 February 2003 20:25, Jonathan Warren wrote:
> > I changed uploads.c so that it will allow uploads from users contained in
> > the file .gtk-gnutella/whitlist even if all upload slots are in use. What
> > would I have to do to get it added to cvs permenatnly?
>
> Are you using the cvs version?
> Make sure it is updated and then do something like that in the gtk-gnutella
> dir:
>
> cvs diff -u > mypatch.patch
>
> And then send that file to this list here. Or talk with the team on
> #gtk-gnutella on irc.freenode.net
>
> bye
> Markus Goetz
>
> - --
> GPG Key ID: 0x35FB264CAE12512D
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.1 (GNU/Linux)
>
> iD8DBQE+XJzGNfsmTK4SUS0RAlwwAJ9uVKhe3HuLNqc6B3+5Dk+RxnoVxQCgosSC
> Zh/U+LKw5Cr3Xa2WUAuyeoc=
> =Q91B
> -----END PGP SIGNATURE-----
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Scholarships for Techies!
> Can't afford IT training? All 2003 ictp students receive scholarships.
> Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more.
> www.ictp.com/training/sourceforge.asp
> _______________________________________________
> Gtk-gnutella-devel mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/gtk-gnutella-devel
? Makefile
? config.cache
? config.h
? config.log
? config.status
? gtk-gnutella.spec
? gtkupdate.sh
? stamp-h
? src/.deps
? src/Makefile
? src/getdate.c
? src/gtk-gnutella
Index: src/uploads.c
===================================================================
RCS file: /cvsroot/gtk-gnutella/gtk-gnutella-current/src/uploads.c,v
retrieving revision 1.113
diff -u -r1.113 uploads.c
--- src/uploads.c 26 Feb 2003 09:49:15 -0000 1.113
+++ src/uploads.c 26 Feb 2003 19:46:45 -0000
@@ -49,6 +49,7 @@
#include "nodes.h"
#include "ioheader.h"
#include "ban.h"
+#include "whitelist.h"
#include "settings.h"
@@ -1999,7 +2000,7 @@
* --RAM, 15/12/2001
*/
- if (running_uploads > max_uploads) {
+ if (running_uploads > max_uploads && !whitelist_check(u->ip)) {
/*
* Support for bandwith-dependent number of upload slots.