changeset 299:a9a689478c96

Small correction to strSplit
author Adam Domurad <adomurad@redhat.com>
date Tue, 24 Jul 2012 10:20:10 -0400
parents a8abb4b08bf8
children d98198e51e84
files ChangeLog plugin/icedteanp/IcedTeaPluginUtils.cc
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Fri Jun 08 13:45:35 2012 -0400
+++ b/ChangeLog	Tue Jul 24 10:20:10 2012 -0400
@@ -1,3 +1,8 @@
+2012-07-24  Adam Domurad  <adomurad@redhat.com>
+
+	* plugin/icedteanp/IcedTeaPluginUtils.cc
+	(IcedTeaPluginUtilities::strSplit): Replace usage of " " with proper 
+	delimiter
 2012-06-04  Adam Domurad  <adomurad@redhat.com>
 
         This patch fixes PR518, ensures null termination of strings based off
--- a/plugin/icedteanp/IcedTeaPluginUtils.cc	Fri Jun 08 13:45:35 2012 -0400
+++ b/plugin/icedteanp/IcedTeaPluginUtils.cc	Tue Jul 24 10:20:10 2012 -0400
@@ -316,7 +316,7 @@
 		std::string* s = new std::string();
 		s->append(tok_ptr);
 		v->push_back(s);
-		tok_ptr = strtok (NULL, " ");
+		tok_ptr = strtok (NULL, delim);
 	}
 
 	return v;