]> git.pld-linux.org Git - packages/dcd.git/commitdiff
- fixes sig11 when user doesn't have enought shares
authorPaweł Gołaszewski <blues@pld-linux.org>
Tue, 8 Oct 2002 07:52:51 +0000 (07:52 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    dcd-MyINFO_sig11_fix.patch -> 1.1

dcd-MyINFO_sig11_fix.patch [new file with mode: 0644]

diff --git a/dcd-MyINFO_sig11_fix.patch b/dcd-MyINFO_sig11_fix.patch
new file mode 100644 (file)
index 0000000..ba2454e
--- /dev/null
@@ -0,0 +1,10 @@
+--- ./src/main.c.org   Wed Jul 31 16:35:14 2002
++++ ./src/main.c       Tue Oct  8 09:52:52 2002
+@@ -386,6 +386,7 @@
+                                               if (user[id]->share<(conf.minshare*1024*1024)) {
+                                                       sprintf(tmp,"You must share at least %LuMB on this hub.",conf.minshare);
+                                                       deluser(id,tmp);
++                                                      return;
+                                               }
+                                               else send_mcast(line);
+                                       }
This page took 0.075686 seconds and 4 git commands to generate.