what the?
authorMichael Wallner <mike@php.net>
Thu, 21 Jul 2005 16:18:09 +0000 (16:18 +0000)
committerMichael Wallner <mike@php.net>
Thu, 21 Jul 2005 16:18:09 +0000 (16:18 +0000)
http_cache_api.c

index e9639498d05189e1f6c052ed7a9c14443fdff41b..56ca0f61a3f045587d6e455347fa2570e435a6ca 100644 (file)
@@ -77,10 +77,10 @@ PHP_HTTP_API char *_http_etag(const void *data_ptr, size_t data_len, http_send_m
 
                case SEND_RSRC:
                {
-            if (php_stream_stat((php_stream *) data_ptr, &ssb)) {
+                       if (php_stream_stat((php_stream *) data_ptr, &ssb)) {
                                efree(new_etag);
-                return NULL;
-            }
+                               return NULL;
+                       }
 
                        snprintf(ssb_buf, 127, "%ld=%ld=%ld", ssb.sb.st_mtime, ssb.sb.st_ino, ssb.sb.st_size);
                        PHP_MD5Update(&ctx, ssb_buf, strlen(ssb_buf));