Explorar el Código

- fixed a bad DBG in parse_via (param->name instead of param->name.s)

Andrei Pelinescu-Onciul hace 24 años
padre
commit
4903efcf8e
Se han modificado 2 ficheros con 3 adiciones y 3 borrados
  1. 2 2
      Makefile
  2. 1 1
      parse_via.c

+ 2 - 2
Makefile

@@ -39,8 +39,8 @@ DEFS=-DNOCR -DMACROEATER -DDNS_IP_HACK  -DSHM_MEM -DUSE_SHM_MEM #-DNO_DEBUG
 #-DNO_LOG
 #-DNO_LOG
 
 
 PROFILE=  # -pg #set this if you want profiling
 PROFILE=  # -pg #set this if you want profiling
-mode = debug
-#mode = release
+#mode = debug
+mode = release
 
 
 # platform dependent settings
 # platform dependent settings
 
 

+ 1 - 1
parse_via.c

@@ -756,7 +756,7 @@ endofvalue:
 	*pstate=state;
 	*pstate=state;
 	*psaved_state=saved_state;
 	*psaved_state=saved_state;
 	DBG("Found param type %d, <%s> = <%s>; state=%d\n", param->type, 
 	DBG("Found param type %d, <%s> = <%s>; state=%d\n", param->type, 
-			param->name, param->value, state);
+			param->name.s, param->value.s, state);
 	return tmp;
 	return tmp;
 	
 	
 end_via:
 end_via: