Skip to content

Commit

Permalink
Polish style and comments
Browse files Browse the repository at this point in the history
  • Loading branch information
cyrus-and committed Oct 15, 2020
1 parent feafb7c commit 2f158b4
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions ext/src/tracing/trace_fracker.c
@@ -1,6 +1,5 @@
/* Copyright (c) 2020 Andrea Cardaci <cyrus.and@gmail.com> */


#include "php.h"
#include "ext/standard/php_string.h"

Expand All @@ -9,13 +8,6 @@
#include "trace_fracker.h"

#include "lib/var_export_line.h"
#include "lib/var_export_serialized.h"




/* #include "trace_fracker.h" */
/* #include "xdebug_var.h" */

#include "ext/json/php_json.h"
#include "zend_smart_str.h"
Expand Down Expand Up @@ -83,7 +75,7 @@ static void write_json_object(int fd, struct json_object *object)
{
struct iovec to_write[2];

/* TODO properly check the write syscalls */
/* TODO properly check the writev syscall */

/* write the object followed by a newline then cleanup */
to_write[0].iov_base = (void *)json_object_to_json_string(object);
Expand Down

0 comments on commit 2f158b4

Please sign in to comment.