← Back to team overview

linuxdcpp-team team mailing list archive

[Branch ~dcplusplus-team/dcplusplus/trunk] Rev 2649: fix build when natupnp absent

 

------------------------------------------------------------
revno: 2649
committer: cologic <ne5@xxxxxxxxxxx>
branch nick: dcplusplus
timestamp: Tue 2011-10-25 02:12:55 -0400
message:
  fix build when natupnp absent
modified:
  win32/Mapper_WinUPnP.cpp


--
lp:dcplusplus
https://code.launchpad.net/~dcplusplus-team/dcplusplus/trunk

Your team Dcplusplus-team is subscribed to branch lp:dcplusplus.
To unsubscribe from this branch go to https://code.launchpad.net/~dcplusplus-team/dcplusplus/trunk/+edit-subscription
=== modified file 'win32/Mapper_WinUPnP.cpp'
--- win32/Mapper_WinUPnP.cpp	2011-10-22 16:41:13 +0000
+++ win32/Mapper_WinUPnP.cpp	2011-10-25 06:12:55 +0000
@@ -175,11 +175,11 @@
 void Mapper_WinUPnP::uninit() {
 }
 
-bool Mapper_WinUPnP::add(const unsigned short port, const Protocol protocol, const string& description) {
+bool Mapper_WinUPnP::add(const string& port, const Protocol protocol, const string& description) {
 	return false;
 }
 
-bool Mapper_WinUPnP::remove(const unsigned short port, const Protocol protocol) {
+bool Mapper_WinUPnP::remove(const string& port, const Protocol protocol) {
 	return false;
 }