| 977 int major; |
977 int major; |
| 978 p = (char *)connect_data->read_buffer + 5; |
978 p = (char *)connect_data->read_buffer + 5; |
| 979 major = strtol(p, &p, 10); |
979 major = strtol(p, &p, 10); |
| 980 error = (major == 0) || (*p != '.'); |
980 error = (major == 0) || (*p != '.'); |
| 981 if(!error) { |
981 if(!error) { |
| |
982 int minor; |
| 982 p++; |
983 p++; |
| 983 /* minor = */ strtol(p, &p, 10); |
984 minor = strtol(p, &p, 10); |
| 984 error = (*p != ' '); |
985 error = (*p != ' '); |
| 985 if(!error) { |
986 if(!error) { |
| 986 p++; |
987 p++; |
| 987 status = strtol(p, &p, 10); |
988 status = strtol(p, &p, 10); |
| 988 error = (*p != ' '); |
989 error = (*p != ' '); |
| |
990 (void)minor; /* we don't need it's value */ |
| 989 } |
991 } |
| 990 } |
992 } |
| 991 } |
993 } |
| 992 |
994 |
| 993 /* Read the contents */ |
995 /* Read the contents */ |