Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
2cb912e4
Commit
2cb912e4
authored
Jan 14, 2014
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
db/upnp: Namei() returns error when no object was found
Don't fail silently.
parent
91a513e8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
UpnpDatabasePlugin.cxx
src/db/UpnpDatabasePlugin.cxx
+5
-2
No files found.
src/db/UpnpDatabasePlugin.cxx
View file @
2cb912e4
...
...
@@ -575,7 +575,9 @@ UpnpDatabase::Namei(ContentDirectoryService* server,
odirent
=
dirent
;
return
true
;
}
else
{
return
true
;
error
.
Format
(
db_domain
,
DB_NOT_FOUND
,
"No such object"
);
return
false
;
}
}
}
...
...
@@ -585,7 +587,8 @@ UpnpDatabase::Namei(ContentDirectoryService* server,
break
;
}
return
true
;
error
.
Format
(
db_domain
,
DB_NOT_FOUND
,
"No such object"
);
return
false
;
}
// vpath is a parsed and writeable version of selection.uri. There is
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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