ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/tewi/Server/server.c
(Generate patch)

Comparing Server/server.c (file contents):
Revision 1.4 by nishi, Sun Oct 20 20:23:51 2024 UTC vs.
Revision 1.5 by nishi, Sun Oct 20 20:52:55 2024 UTC

# Line 640 | Line 640 | int tw_server_pass(void* ptr) {
640                                  host[i] = 0;
641                                  port = atoi(host + i + 1);
642                                  break;
643 +                        }else if(vhost[i] == '['){
644 +                                for(; vhost[i] != 0 && vhost[i] != ']'; i++);
645                          }
646                  }
647                  name = host;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines