client.c
changeset 274 62048132f95f
parent 267 11631dd11ff8
child 276 dc78c982c8c5
equal deleted inserted replaced
273:8d1f96d0e802 274:62048132f95f
   205         fprintf(stderr,
   205         fprintf(stderr,
   206             "Error checking version with the server. Did you forget an "
   206             "Error checking version with the server. Did you forget an "
   207             "old ts server running?\n");
   207             "old ts server running?\n");
   208         error("Error checking version");
   208         error("Error checking version");
   209     }
   209     }
       
   210     alarm(0);
   210 
   211 
   211     if (m.type != VERSION || m.u.version != PROTOCOL_VERSION)
   212     if (m.type != VERSION || m.u.version != PROTOCOL_VERSION)
   212     {
   213     {
   213         printf("Wrong server version. Received %i, expecting %i\n",
   214         printf("Wrong server version. Received %i, expecting %i\n",
   214             m.u.version, PROTOCOL_VERSION);
   215             m.u.version, PROTOCOL_VERSION);