this is a stupid question but is there a way i could put these two else if into one else if?
thanksCode:else if((strcmp(temp, "get / http/1.1")) == 0) { printf("\nHTTP/1.1 200 OK\n"); printf("Server: Xitami/2.5d4 (Win32)\n"); printf("Last-Modified: Fri, 18 Jan 2002\n\n"); first(); } else if((strcmp(temp, "get http/1.1")) == 0) { printf("\nHTTP/1.1 200 OK\n"); printf("Server: Xitami/2.5d4 (Win32)\n"); printf("Last-Modified: Fri, 18 Jan 2002\n\n"); first(); }