Browse code

- v->0.8.11pre33 - merged parse_via_param changes from 0.8.11dev34

Andrei Pelinescu-Onciul authored on 26/06/2003 14:54:42
Showing 2 changed files
... ...
@@ -40,7 +40,7 @@ export makefile_defs
40 40
 VERSION = 0
41 41
 PATCHLEVEL = 8
42 42
 SUBLEVEL =   11
43
-EXTRAVERSION = pre32
43
+EXTRAVERSION = pre33
44 44
 
45 45
 RELEASE=$(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION)
46 46
 OS = $(shell uname -s | sed -e s/SunOS/solaris/ | tr "[A-Z]" "[a-z]")
... ...
@@ -40,8 +40,9 @@
40 40
  *  2003-01-27  modified parse_via to set new via_param->start member and
41 41
  *               via->params.s (andrei)
42 42
  *  2003-01-28  zero-terminations replaced with VIA_ZT (jiri)
43
- *  2003-02-28 scratchpad compatibility abandoned (jiri)
44
- *  2003-04-26 ZSW (jiri)
43
+ *  2003-02-28  scratchpad compatibility abandoned (jiri)
44
+ *  2003-04-26  ZSW (jiri)
45
+ *  2003-06-23  fixed  parse_via_param [op].* param. parsing bug (andrei)
45 46
  */
46 47
 
47 48
 
... ...
@@ -646,6 +647,10 @@ static /*inline*/ char* parse_via_param(char* p, char* end,
646 647
 			case 'p':
647 648
 			case 'P':
648 649
 				switch(state){
650
+					case F_PARAM:
651
+						state=GEN_PARAM;
652
+						param->name.s=tmp;
653
+						break;
649 654
 					case RECEIVED1:
650 655
 						state=RPORT1;
651 656
 						break;
... ...
@@ -661,6 +666,10 @@ static /*inline*/ char* parse_via_param(char* p, char* end,
661 666
 			case 'o':
662 667
 			case 'O':
663 668
 				switch(state){
669
+					case F_PARAM:
670
+						state=GEN_PARAM;
671
+						param->name.s=tmp;
672
+						break;
664 673
 					case RPORT1:
665 674
 						state=RPORT2;
666 675
 						break;