[rygel/wip/basic-management: 52/68] core: BasicManagement: remove unused constants
- From: Jussi Kukkonen <jussik src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel/wip/basic-management: 52/68] core: BasicManagement: remove unused constants
- Date: Tue, 2 Jul 2013 13:19:17 +0000 (UTC)
commit 5d3ed55fd73d1407e31114b5cb71df79220de217
Author: Jussi Kukkonen <jussi kukkonen intel com>
Date: Tue Jun 4 14:39:05 2013 +0300
core: BasicManagement: remove unused constants
Timeout and repeat_count make sense to be limited, but the address
and hostname string lengths not so much: The former depend on
input from UPnP client, the latter depend on nslookup output.
.../rygel-basic-management-test-nslookup.vala | 5 -----
1 files changed, 0 insertions(+), 5 deletions(-)
---
diff --git a/src/librygel-core/rygel-basic-management-test-nslookup.vala
b/src/librygel-core/rygel-basic-management-test-nslookup.vala
index b92650b..e46f6a4 100644
--- a/src/librygel-core/rygel-basic-management-test-nslookup.vala
+++ b/src/librygel-core/rygel-basic-management-test-nslookup.vala
@@ -104,14 +104,9 @@ internal class Rygel.BasicManagementTestNSLookup : BasicManagementTest {
}
}
- /* TODO make sure all these are respected */
private static const uint MAX_REPEAT_COUNT = 100;
private static const uint MIN_INTERVAL_TIMEOUT = 1000;
private static const uint MAX_INTERVAL_TIMEOUT = 30000;
- private static const uint MAX_RESULT_ANSWER_STR_SIZE = 32; // ?
- private static const uint MAX_RESULT_NAME_STR_SIZE = 256; // ?
- private static const uint MAX_RESULT_IPS_STR_SIZE = 1024; // length of addresses csv ?
- private static const uint MAX_RESULT_ARRAY_SIZE = 7; // ?
private struct Result {
private ProcessState state;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]