* ser_posix.c: Limit verbose output to 2 chars.

git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@298 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
troth 2003-03-24 02:37:33 +00:00
parent eaa8c4444d
commit 706e030907
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2003-03-23 Theodore A. Roth <troth@openavr.org>
* ser_posix.c: Limit verbose output to 2 chars.
2003-03-23 Theodore A. Roth <troth@openavr.org>
* ser_posix.c: Add verbose level > 3 output for send and recv functions.

View File

@ -175,7 +175,7 @@ int serial_send(int fd, char * buf, size_t buflen)
else {
fprintf(stderr, ". ");
}
fprintf(stderr, "[%02x] ", (unsigned int)c);
fprintf(stderr, "[%02x] ", ((unsigned int)c) & 0xff);
buf++;
buflen--;