diff options
author | Anas Nashif <nashif@intel.com> | 2008-03-03 20:52:37 +0000 |
---|---|---|
committer | Anas Nashif <nashif@intel.com> | 2008-03-03 20:52:37 +0000 |
commit | e807665d47cd5e03d1a0f79b71d376079fe2c17c (patch) | |
tree | 8db69ff53a617c8d6870470517ac60d5f092b878 /src | |
parent | 6a0fa43a4e637718e923a8e4b3f1b2fe9f5338ce (diff) | |
download | wsmancli-e807665d47cd5e03d1a0f79b71d376079fe2c17c.tar.gz wsmancli-e807665d47cd5e03d1a0f79b71d376079fe2c17c.tar.xz wsmancli-e807665d47cd5e03d1a0f79b71d376079fe2c17c.zip |
filter for subscription
Diffstat (limited to 'src')
-rw-r--r-- | src/wsman.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/wsman.c b/src/wsman.c index f67350c..52a3ea4 100644 --- a/src/wsman.c +++ b/src/wsman.c @@ -553,7 +553,6 @@ int main(int argc, char **argv) filename = (char *) config_file; - if (filename) { ini = iniparser_new(filename); if (ini == NULL) { @@ -859,10 +858,9 @@ int main(int argc, char **argv) options->heartbeat_interval = event_heartbeat; if(event_subscription_expire) options->expires = event_subscription_expire; - /* - if(wsm_dialect) - options->dialect = wsm_dialect; - */ + if(wsm_filter) + filter = filter_create_simple(wsm_dialect, wsm_filter); + if(event_reference_properties) options->reference = event_reference_properties; rqstDoc = wsmc_action_subscribe(cl, resource_uri, options, filter); |