Skip to content

Commit 628415d

Browse files
committed
newline added between commands to socket proxy
1 parent afd3a05 commit 628415d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Winscard/Winscard.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3148,7 +3148,8 @@ Remote card protocol
31483148
all other lines not starting with > or # are ignored
31493149
*/
31503150
string_type Remote_FormatRequest(string_type targetReader, DWORD uniqueCmdID, string_type command, string_type commandData, string_type notes, string_type lineSeparator) {
3151-
return string_format(">%s%s>%d%s%s%s%s%s%s", targetReader.c_str(), lineSeparator.c_str(), uniqueCmdID, CMD_SEPARATOR, command.c_str(), CMD_SEPARATOR, commandData.c_str(), lineSeparator.c_str(), notes.c_str());
3151+
// return string_format(">%s%s>%d%s%s%s%s%s%s", targetReader.c_str(), lineSeparator.c_str(), uniqueCmdID, CMD_SEPARATOR, command.c_str(), CMD_SEPARATOR, commandData.c_str(), lineSeparator.c_str(), notes.c_str());
3152+
return string_format(">%s%s\n>%d%s%s%s%s%s%s", targetReader.c_str(), lineSeparator.c_str(), uniqueCmdID, CMD_SEPARATOR, command.c_str(), CMD_SEPARATOR, commandData.c_str(), lineSeparator.c_str(), notes.c_str());
31523153
}
31533154

31543155
#if defined (_WIN32)

0 commit comments

Comments
 (0)