From: Christopher H. <ch...@us...> - 2002-01-15 02:57:47
|
Update of /cvsroot/blob/blob/src/blob In directory usw-pr-cvs1:/tmp/cvs-serv9096/src/blob Modified Files: main.c Log Message: squelch double error message Index: main.c =================================================================== RCS file: /cvsroot/blob/blob/src/blob/main.c,v retrieving revision 1.25 retrieving revision 1.26 diff -u -d -r1.25 -r1.26 --- main.c 2002/01/15 01:59:34 1.25 +++ main.c 2002/01/15 02:57:44 1.26 @@ -264,7 +264,7 @@ retval = set_download_parameters(argv[1], &startAddress, &bufLen, &numRead, &digest); if (retval < 0) - return -EINVAL; + return 0; if (blob_status.terminalSpeed != blob_status.downloadSpeed) { SerialOutputString("Switching to "); @@ -345,7 +345,7 @@ retval = set_download_parameters(argv[1], &startAddress, &bufLen, &numRead, &digest); if (retval < 0) - return -EINVAL; + return 0; if (blob_status.terminalSpeed != blob_status.downloadSpeed) { SerialOutputString("Switching to "); |