[BusyBox-cvs] busybox/networking tftp.c,1.14,1.15

Glenn McGrath bug1 at busybox.net
Mon Dec 9 21:05:44 UTC 2002


Update of /var/cvs/busybox/networking
In directory winder:/tmp/cvs-serv16975/networking

Modified Files:
	tftp.c 
Log Message:
Fix a debug message, from Bastian Blank


Index: tftp.c
===================================================================
RCS file: /var/cvs/busybox/networking/tftp.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- tftp.c	25 Oct 2002 12:14:02 -0000	1.14
+++ tftp.c	9 Dec 2002 21:05:40 -0000	1.15
@@ -407,9 +407,9 @@
 						       "blksize");
 
 				 if (res) {
-				         int foo = atoi(res);
+				         int blksize = atoi(res);
 			     
-					 if (tftp_blocksize_check(foo,
+					 if (tftp_blocksize_check(blksize,
 							   tftp_bufsize - 4)) {
 
 					         if (cmd_put) {
@@ -419,7 +419,7 @@
 				                         opcode = TFTP_ACK;
 						 }
 #ifdef CONFIG_FEATURE_TFTP_DEBUG
-						 printf("using blksize %u\n");
+						 printf("using blksize %u\n", blksize);
 #endif
 					         tftp_bufsize = foo + 4;
 						 block_nr = 0;




More information about the busybox-cvs mailing list