projects
/
network-manager-openvpn.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb5b9f9
)
Do not treat space as separator for multiple remote gateway entries (bug 712710)
gnome712710
author
TJ
<gnome@iam.tj>
Tue, 19 Nov 2013 20:06:07 +0000
(20:06 +0000)
committer
TJ
<gnome@iam.tj>
Tue, 19 Nov 2013 20:06:07 +0000
(20:06 +0000)
src/nm-openvpn-service.c
patch
|
blob
|
history
diff --git
a/src/nm-openvpn-service.c
b/src/nm-openvpn-service.c
index
8589b57
..
3975643
100644
(file)
--- a/
src/nm-openvpn-service.c
+++ b/
src/nm-openvpn-service.c
@@
-906,7
+906,7
@@
nm_openvpn_start_openvpn_binary (NMOpenvpnPlugin *plugin,
tmp = nm_setting_vpn_get_data_item (s_vpn, NM_OPENVPN_KEY_REMOTE);
if (tmp && strlen (tmp)) {
char *tok;
- while ((tok = strsep((char**)&tmp, "
,")) != NULL) {
+ while ((tok = strsep((char**)&tmp, ",")) != NULL) {
if (strlen(tok)) {
add_openvpn_arg (args, "--remote");
add_openvpn_arg (args, tok);