jackdanielz pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=4027c3bbb1fd853b98e79a5c7ada02f34c10f52c

commit 4027c3bbb1fd853b98e79a5c7ada02f34c10f52c
Author: Daniel Zaoui <daniel.za...@samsung.com>
Date:   Wed Feb 25 10:36:13 2015 +0200

    DnD: Add line number to debug messages
---
 src/lib/elm_cnp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/elm_cnp.c b/src/lib/elm_cnp.c
index 4f961f9..f04e11c 100644
--- a/src/lib/elm_cnp.c
+++ b/src/lib/elm_cnp.c
@@ -10,7 +10,7 @@
 
 //#define DEBUGON 1
 #ifdef DEBUGON
-# define cnp_debug(fmt, args...) fprintf(stderr, __FILE__":%s : " fmt , 
__FUNCTION__, ##args)
+# define cnp_debug(fmt, args...) fprintf(stderr, __FILE__":%s/%d : " fmt , 
__FUNCTION__, __LINE__, ##args)
 #else
 # define cnp_debug(x...) do { } while (0)
 #endif

-- 


Reply via email to