summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Leonard <meanderingcode@aetherislands.net>2013-06-20 20:42:21 -0600
committerSean Leonard <meanderingcode@aetherislands.net>2013-06-20 20:42:21 -0600
commit304b29d6cb85d710756a56bc9c009429b8407d69 (patch)
treefa8fc602518430137895fbdbaba439f6c3d92321
parent1739e314e274b0c99b6dbb40ddda3b634affd680 (diff)
Fix bad for loop maths, rookie!
-rw-r--r--src/se/leap/leapclient/Provider.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/se/leap/leapclient/Provider.java b/src/se/leap/leapclient/Provider.java
index 4a09bf7..189c3a8 100644
--- a/src/se/leap/leapclient/Provider.java
+++ b/src/se/leap/leapclient/Provider.java
@@ -122,7 +122,7 @@ public final class Provider implements Serializable {
} catch (Exception e) {
// TODO: handle exception
}
- for (int i=0;i<API_EIP_TYPES.length;i++){
+ for (int i=0;i<API_EIP_TYPES.length+1;i++){
try {
// Walk the EIP types array looking for matches in provider's service definitions
if ( Arrays.asList(API_EIP_TYPES).contains( services.getString(i) ) )