More changes for problem with Serial Number copying.

This commit is contained in:
Alexander Moibenko
2024-01-22 20:51:20 +03:00
parent a56ce2af7b
commit 05ec4400ed

View File

@@ -632,12 +632,10 @@ void copy_char_buffer(unsigned char *src, unsigned char *dest, int num)
for (i=0; i < num; i++) for (i=0; i < num; i++)
{ {
if (isalnum(*src)) { if (isalnum(*src)) {
*dest = *src; *dest++ = *src;
} }
src++; src++;
dest++;
} }
*dest = 0;
} }
/* This #%!@# routine has more parameters than I can count! */ /* This #%!@# routine has more parameters than I can count! */