Permalink
Browse files

fix typo txt -> text

  • Loading branch information...
arton committed Apr 5, 2012
1 parent 339c2b3 commit 25d7e9cd3935770f6bf00ca51b4dd24b8a40a3bb
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/UPnP/control/service.rb
@@ -407,7 +407,7 @@ def parse_service_state_table(service_state_table)
data_type = Types::MAP[var.at('dataType').text.strip]
default = var.at 'defaultValue'
- if default && default.txt then
+ if default && default.text then
default = default.text.strip
raise Error, "insecure default value #{default}" unless
default =~ VALUE_PATTERN

0 comments on commit 25d7e9c

Please sign in to comment.