giftcurs-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[giFTcurs-commits] giFTcurs/src transfer.c


From: Christian Häggström
Subject: [giFTcurs-commits] giFTcurs/src transfer.c
Date: Mon, 08 Sep 2003 13:50:51 -0400

CVSROOT:        /cvsroot/giftcurs
Module name:    giFTcurs
Branch:         
Changes by:     Christian Häggström <address@hidden>    03/09/08 13:50:51

Modified files:
        src            : transfer.c 

Log message:
        reset bandwidth on detach

Patches:
Index: giFTcurs/src/transfer.c
diff -u giFTcurs/src/transfer.c:1.140 giFTcurs/src/transfer.c:1.141
--- giFTcurs/src/transfer.c:1.140       Thu Aug 14 12:57:43 2003
+++ giFTcurs/src/transfer.c     Mon Sep  8 13:50:49 2003
@@ -18,7 +18,7 @@
  * along with giFTcurs; if not, write to the Free Software Foundation,
  * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307,  USA.
  *
- * $Id: transfer.c,v 1.140 2003/08/14 16:57:43 weinholt Exp $
+ * $Id: transfer.c,v 1.141 2003/09/08 17:50:49 saturn Exp $
  */
 #include "giftcurs.h"
 
@@ -182,6 +182,7 @@
 
 static void source_detach(source * s)
 {
+       memset(&s->bw, 0, sizeof s->bw);
        /* What is an appropriate status here? */
        change_string(&s->status, N_("Inactive"));
 }




reply via email to

[Prev in Thread] Current Thread [Next in Thread]