Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Donald Haase
Cockatrice
Commits
2b89c353
Commit
2b89c353
authored
May 22, 2012
by
Max-Wilhelm Bruker
Browse files
merged security fix from master
parents
981db47f
887ee0e8
Changes
1
Hide whitespace changes
Inline
Side-by-side
servatrice/src/serversocketinterface.cpp
View file @
2b89c353
...
...
@@ -443,8 +443,8 @@ Response::ResponseCode ServerSocketInterface::cmdDeckDelDir(const Command_DeckDe
servatrice
->
checkSql
();
int
basePathId
=
getDeckPathId
(
QString
::
fromStdString
(
cmd
.
path
()));
if
(
basePathId
==
-
1
)
return
Response
::
RespNameNotFound
;
if
(
(
basePathId
==
-
1
)
||
(
basePathId
==
0
))
return
RespNameNotFound
;
deckDelDirHelper
(
basePathId
);
return
Response
::
RespOk
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment