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
e9ba5fca
Commit
e9ba5fca
authored
Jan 10, 2014
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
db/upnp: remove unused method setMaxContentLength()
parent
48097745
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
10 deletions
+1
-10
upnpplib.cxx
src/db/upnp/upnpplib.cxx
+1
-6
upnpplib.hxx
src/db/upnp/upnpplib.hxx
+0
-4
No files found.
src/db/upnp/upnpplib.cxx
View file @
e9ba5fca
...
...
@@ -51,7 +51,7 @@ LibUPnP::LibUPnP()
return
;
}
s
etMaxContentLength
(
2000
*
1024
);
UpnpS
etMaxContentLength
(
2000
*
1024
);
code
=
UpnpRegisterClient
(
o_callback
,
(
void
*
)
this
,
&
m_clh
);
if
(
code
!=
UPNP_E_SUCCESS
)
{
...
...
@@ -65,11 +65,6 @@ LibUPnP::LibUPnP()
ixmlRelaxParser
(
1
);
}
void
LibUPnP
::
setMaxContentLength
(
int
bytes
)
{
UpnpSetMaxContentLength
(
bytes
);
}
void
LibUPnP
::
registerHandler
(
Upnp_EventType
et
,
Upnp_FunPtr
handler
,
void
*
cookie
)
{
...
...
src/db/upnp/upnpplib.hxx
View file @
e9ba5fca
...
...
@@ -56,10 +56,6 @@ public:
/** Retrieve the singleton LibUPnP object */
static
LibUPnP
*
getLibUPnP
(
Error
&
error
);
/** Set max library buffer size for reading content from servers.
* The default is 200k and should be ok */
void
setMaxContentLength
(
int
bytes
);
/** Check state after initialization */
bool
ok
()
const
{
...
...
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