diff options
author | Jorge Arellano Cid <jcid@dillo.org> | 2009-07-17 19:19:35 -0400 |
---|---|---|
committer | Jorge Arellano Cid <jcid@dillo.org> | 2009-07-17 19:19:35 -0400 |
commit | 2ee5e732c456c722b1456bdbc8b203098681b4de (patch) | |
tree | b71550eb13832ea37d3a5a5ae52b6990b28f2da2 /dpi/hello.c | |
parent | d53595dd6d4a1d6431aa8d439c63e30cb27525a0 (diff) |
Added a_Dpip_get_attr_l() to DPIP's API
Diffstat (limited to 'dpi/hello.c')
-rw-r--r-- | dpi/hello.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dpi/hello.c b/dpi/hello.c index 250a4a44..c28c5b6b 100644 --- a/dpi/hello.c +++ b/dpi/hello.c @@ -56,8 +56,8 @@ int main(void) dpip_tag = sock_handler_read(sh); MSG("tag = [%s]\n", dpip_tag); - cmd = a_Dpip_get_attr(dpip_tag, strlen(dpip_tag), "cmd"); - url = a_Dpip_get_attr(dpip_tag, strlen(dpip_tag), "url"); + cmd = a_Dpip_get_attr(dpip_tag, "cmd"); + url = a_Dpip_get_attr(dpip_tag, "url"); /*-- Dialog part */ { @@ -77,7 +77,7 @@ int main(void) MSG("tag = [%s]\n", dpip_tag2); /* Get "msg" value */ - dialog_msg = a_Dpip_get_attr(dpip_tag2, strlen(dpip_tag2), "msg"); + dialog_msg = a_Dpip_get_attr(dpip_tag2, "msg"); choice_num = 0; if (dialog_msg) choice_num = *dialog_msg - '0'; |