cwEuCon.cpp : Change printf() fmt.
This commit is contained in:
parent
09a02e9a9b
commit
df1501ffa3
@ -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 )
|
||||||
|
Loading…
Reference in New Issue
Block a user