Skip to content

Commit b71d877

Browse files
michaelsternbergtschak909
authored andcommitted
ATARI: Corrected 'NCD N1:' to clear mount
1 parent d0bec41 commit b71d877

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

lib/device/sio/network.cpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -557,12 +557,6 @@ void sioNetwork::sio_set_prefix()
557557
prefixSpec_str = string((const char *)prefixSpec);
558558
prefixSpec_str = prefixSpec_str.substr(prefixSpec_str.find_first_of(":") + 1);
559559

560-
// Append trailing slash if not found
561-
if (prefixSpec_str.back() != '/')
562-
{
563-
prefixSpec_str += "/";
564-
}
565-
566560
#ifdef VERBOSE_PROTOCOL
567561
Debug_printf("sioNetwork::sio_set_prefix(%s)\n", prefixSpec_str.c_str());
568562
#endif
@@ -574,6 +568,12 @@ void sioNetwork::sio_set_prefix()
574568
}
575569
else
576570
{
571+
// Append trailing slash if not found
572+
if (prefixSpec_str.back() != '/')
573+
{
574+
prefixSpec_str += "/";
575+
}
576+
577577
// For the remaining cases, append trailing slash if not found
578578
if (prefix.back() != '/')
579579
{

0 commit comments

Comments
 (0)