cwEuCon.cpp : Change printf() fmt.

This commit is contained in:
kevin.larke 2020-04-17 13:40:41 -04:00
parent 09a02e9a9b
commit df1501ffa3

View File

@ -625,7 +625,8 @@ namespace cw
const char* name = (const char*)(u+6); const char* name = (const char*)(u+6);
const char* label = "MC Mix - "; const char* label = "MC Mix - ";
printf("%.*s|%i\n", name[0], name+1, strlen(label) ); unsigned sn = strlen(label);
printf("%.*s|%i\n", name[0], name+1, sn );
// if this a 'MC Mix' DNS-SD SRV reply // if this a 'MC Mix' DNS-SD SRV reply
if( strncmp(label, name+1, strlen(label)) == 0 ) if( strncmp(label, name+1, strlen(label)) == 0 )