[rygel/wip/basic-management: 72/95] core: BasicManagement: remove unused constants



commit bd940b0bb96ed2ced826bd53dc57ea7da7d49c6e
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]