Don’t increment the properties counter twice.
[Sone.git] / src / main / java / net / pterodactylus / sone / freenet / wot / WebOfTrustConnector.java
index d7c8289..4758d95 100644 (file)
@@ -258,7 +258,7 @@ public class WebOfTrustConnector implements ConnectorListener {
                        if (propertyName == null) {
                                break;
                        }
-                       String propertyValue = fields.get(prefix + "Property" + ++propertiesCounter + "Value");
+                       String propertyValue = fields.get(prefix + "Property" + propertiesCounter + "Value");
                        properties.put(propertyName, propertyValue);
                }
                return properties;