All pastes #335054 Raw Edit

Mine

public text v1 · immutable
·published 2007-02-01 02:19 UTC
rendered paste body
[root@anoka networking]# diff -c httpd.c-old httpd.c
*** httpd.c-old 2007-01-31 16:58:20.000000000 -0600
--- httpd.c     2007-01-31 16:58:36.000000000 -0600
***************
*** 1226,1232 ****
                                 * "chopped up into small chunks" syndrome here */
                                rbuf[count] = '\0';
                                /* check to see if the user script added headers */
! #define HTTP_200 "HTTP/1.0 200 OK\r\n\r\n"
                                if (memcmp(rbuf, HTTP_200, 4) != 0) {
                                        /* there is no "HTTP", do it ourself */
                                        full_write(s, HTTP_200, sizeof(HTTP_200)-1);
--- 1226,1232 ----
                                 * "chopped up into small chunks" syndrome here */
                                rbuf[count] = '\0';
                                /* check to see if the user script added headers */
! #define HTTP_200 "HTTP/1.0 200 OK\r\n"
                                if (memcmp(rbuf, HTTP_200, 4) != 0) {
                                        /* there is no "HTTP", do it ourself */
                                        full_write(s, HTTP_200, sizeof(HTTP_200)-1);