mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-28 07:58:08 +01:00
delimiter changed
This commit is contained in:
parent
ce5738a4e1
commit
d4e810c9cb
1 changed files with 7 additions and 1 deletions
|
@ -180,7 +180,7 @@ cmdToStr( XWRELAY_Cmd cmd )
|
||||||
static bool
|
static bool
|
||||||
parseRelayID( const char* const in, char* buf, HostID* hid )
|
parseRelayID( const char* const in, char* buf, HostID* hid )
|
||||||
{
|
{
|
||||||
const char* hidp = strrchr( (char*)in, '/' );
|
const char* hidp = strrchr( (char*)in, ':' );
|
||||||
bool ok = NULL != hidp;
|
bool ok = NULL != hidp;
|
||||||
if ( ok ) {
|
if ( ok ) {
|
||||||
int connNameLen = hidp - in;
|
int connNameLen = hidp - in;
|
||||||
|
@ -783,7 +783,13 @@ handle_proxy_tproc( void* closure )
|
||||||
SafeCref scr( connName );
|
SafeCref scr( connName );
|
||||||
scr.DeviceGone( hid, seed );
|
scr.DeviceGone( hid, seed );
|
||||||
}
|
}
|
||||||
|
/* skip "\n" */
|
||||||
|
bufp = (unsigned char*)crptr + 1;
|
||||||
|
} else {
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue