[ltrace-commits] 01/40: fixed typo: toplevel_format_lens() now uses ptr data when talking about pointers

Petr Machata pmachata-guest at moszumanska.debian.org
Sun May 11 22:38:52 UTC 2014


This is an automated email from the git hooks/post-receive script.

pmachata-guest pushed a commit to branch master
in repository ltrace.

commit 69af09e56c88ef8d91c9db9bc9e474c3da8816f0
Author: Dima Kogan <dima at secretsauce.net>
Date:   Sat Apr 12 21:59:26 2014 -0700

    fixed typo: toplevel_format_lens() now uses ptr data when talking about pointers
---
 lens_default.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lens_default.c b/lens_default.c
index 958114f..fb66b9d 100644
--- a/lens_default.c
+++ b/lens_default.c
@@ -429,7 +429,7 @@ toplevel_format_lens(struct lens *lens, FILE *stream,
 	case ARGTYPE_POINTER:
 		if (value_is_zero(value, arguments))
 			return fprintf(stream, null_message);
-		if (value->type->u.array_info.elt_type->type != ARGTYPE_VOID)
+		if (value->type->u.ptr_info.info->type != ARGTYPE_VOID)
 			return format_pointer(stream, value, arguments);
 		return format_integer(stream, value, INT_FMT_x, arguments);
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/ltrace.git



More information about the ltrace-commits mailing list