network.c
changeset 5108 aeaef6fe53b7
parent 4944 f597859bba38
child 5380 8ea58542b6e0
equal deleted inserted replaced
5107:f3cddd9ce5f4 5108:aeaef6fe53b7
   524 	char *p;
   524 	char *p;
   525 	for (p = connection_string; *p != '\0'; p++) {
   525 	for (p = connection_string; *p != '\0'; p++) {
   526 		if (*p == '#') {
   526 		if (*p == '#') {
   527 			*p = '\0';
   527 			*p = '\0';
   528 			*player = ++p;
   528 			*player = ++p;
   529 			while (IsValidAsciiChar(*p, CS_NUMERAL)) p++;
   529 			while (IsValidChar(*p, CS_NUMERAL)) p++;
   530 			if (*p == '\0') break;
   530 			if (*p == '\0') break;
   531 		} else if (*p == ':') {
   531 		} else if (*p == ':') {
   532 			*port = p + 1;
   532 			*port = p + 1;
   533 			*p = '\0';
   533 			*p = '\0';
   534 		}
   534 		}