Skip to content
This repository
Browse code

Makes a TRACE entry slightly more readable.

  • Loading branch information...
commit 60ea9bbab628d02c0c6c9999296c8f1fc7d2f469 1 parent 0798def
Alvaro Lopez Ortega authored January 04, 2012

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. 4  cherokee/connection.c
4  cherokee/connection.c
@@ -382,8 +382,8 @@ cherokee_connection_clean (cherokee_connection_t *conn)
382 382
 
383 383
 	cherokee_buffer_move_to_begin (&conn->incoming_header, header_len);
384 384
 
385  
-	TRACE (ENTRIES, "conn %p, has headers %d\n", conn,
386  
-	       !cherokee_buffer_is_empty (&conn->incoming_header));
  385
+	TRACE (ENTRIES, "conn %p, %s headers\n", conn,
  386
+	       !cherokee_buffer_is_empty (&conn->incoming_header) ? "has" : "doesn't have");
387 387
 
388 388
 	return ret_ok;
389 389
 }

0 notes on commit 60ea9bb

Please sign in to comment.
Something went wrong with that request. Please try again.