Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit40d22c9

Browse files
committed
Cleanup BEGIN_DB rename
1 parentf64d5bf commit40d22c9

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
BEGIN $YOUR_HOST $YOUR_SECRET
1+
BEGIN_DB $YOUR_HOST $YOUR_SECRET
22

‎src/modem/db/DatabaseProtocol.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ void DatabaseProtocol::Execute(const String& command_name, InputStream* in,
3434
std::unique_ptr<Command> command =CreateCommand(command_name, fbase_.get());
3535
if (!command) {
3636
in->drain();
37-
out->println(String("-FAILInvalid command '") + command_name +"'." );
37+
out->println(String("-FAILunhandled command '") + command_name +"'." );
3838
return;
3939
}
4040

‎src/modem/db/begin-command.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ bool BeginCommand::execute(const String& command,
99
returnfalse;
1010
}
1111

12-
if (command !="BEGIN") {
12+
if (command !="BEGIN_DB") {
1313
returnfalse;
1414
}
1515

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp