summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authormethodus <methodus@web.de>2012-09-29 22:48:30 +0200
committermethodus <methodus@web.de>2012-09-29 22:48:30 +0200
commit97b083ac833ada3c18a5639ee782e575ca583acf (patch)
tree257848635d775396e86f9aeab682b2a719d2d097 /common
parent4cd5debf236f4d4315cce30c4cd11e392f00886a (diff)
downloadvdr-plugin-upnp-97b083ac833ada3c18a5639ee782e575ca583acf.tar.gz
vdr-plugin-upnp-97b083ac833ada3c18a5639ee782e575ca583acf.tar.bz2
Streamer almost completed. First tests successful. However, there are no plugins, yet.
Diffstat (limited to 'common')
-rw-r--r--common/tools.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/tools.cpp b/common/tools.cpp
index d64b86b..61220c6 100644
--- a/common/tools.cpp
+++ b/common/tools.cpp
@@ -137,8 +137,8 @@ string GenerateUUIDRandomly(){
return uuid.str();
}
-void StringExplode(string str, string separator, StringVector results) {
- int found;
+void StringExplode(string str, string separator, StringVector& results) {
+ string::size_type found;
found = str.find_first_of(separator);
while(found != string::npos){
if(found > 0){