diff options
author | Daniil Baturin <daniil@baturin.org> | 2016-12-30 22:42:22 +0700 |
---|---|---|
committer | Daniil Baturin <daniil@baturin.org> | 2016-12-30 22:42:22 +0700 |
commit | 4f69b2c58a53e405eb23d5763de774e9526420a0 (patch) | |
tree | 998f0f64d192ed39c915d3a819ccb847dc79b0da /src/session.ml | |
parent | a9fa58b61db7c634e2b54842c734a6a00e986c02 (diff) | |
download | vyconf-4f69b2c58a53e405eb23d5763de774e9526420a0.tar.gz vyconf-4f69b2c58a53e405eb23d5763de774e9526420a0.zip |
Fix missing quotes around values in Session.string_of_op
Diffstat (limited to 'src/session.ml')
-rw-r--r-- | src/session.ml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/session.ml b/src/session.ml index ee51c55..b380817 100644 --- a/src/session.ml +++ b/src/session.ml @@ -33,12 +33,12 @@ let string_of_op op = let path_str = Util.string_of_path path in (match value with | None -> Printf.sprintf "set %s" path_str - | Some v -> Printf.sprintf "set %s %s" path_str v) + | Some v -> Printf.sprintf "set %s \"%s\"" path_str v) | CfgDelete (path, value) -> let path_str = Util.string_of_path path in (match value with | None -> Printf.sprintf "delete %s" path_str - | Some v -> Printf.sprintf "delete %s %s" path_str v) + | Some v -> Printf.sprintf "delete %s \"%s\"" path_str v) let set_modified s = |