Eingabedaten erst da pruefen, wo benoetigt

Change-Id: I0be475673e1dcea8a1760388815ed826632d2086
diff --git a/p/daemon/debug.c b/p/daemon/debug.c
index 15ea947..63351ff 100644
--- a/p/daemon/debug.c
+++ b/p/daemon/debug.c
@@ -19,9 +19,6 @@
     if ( ch != "debug" && ch != "entwicklung" && ch != "warnungen" )
         return 0;
 
-    if (!stringp(txt) || !sizeof(txt))
-        return 0;
-    
     ch = capitalize(ch);
 
     if( objectp(pl) && query_once_interactive(pl) && query_wiz_level(pl) > 15 )
@@ -40,7 +37,7 @@
                  member( tmp, lower_case(ch) ) == -1 )
                 return 1;
 
-            switch( lower_case(txt) ){
+            switch( lower_case(txt||"") ){
             case "backtrace":
                 {
                     string bt, log;