diff options
author | Juan Cespedes <cespedes@debian.org> | 1998-09-06 14:29:46 +0200 |
---|---|---|
committer | Juan Cespedes <cespedes@debian.org> | 1998-09-06 14:29:46 +0200 |
commit | 370c8e68abbb8fb80959d9132ebb0fadd6b5e1ed (patch) | |
tree | 791561d5f43e1ec664d89523d6183317ce5a19bf /display_args.c | |
parent | 64c6dfbb936b476b0e674901831c9c4dafb975a5 (diff) | |
download | ltrace-370c8e68abbb8fb80959d9132ebb0fadd6b5e1ed.tar.gz |
Version: 0.3.3
* Fixed a little bug in display_string
* A few more functions added to /etc/ltrace.conf
Diffstat (limited to 'display_args.c')
-rw-r--r-- | display_args.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/display_args.c b/display_args.c index 796b3bc..84d9b78 100644 --- a/display_args.c +++ b/display_args.c @@ -96,7 +96,7 @@ static int display_string(enum tof type, struct process * proc, int arg_num) } umovestr(proc, addr, MIN(opt_s,string_maxlength)+1, str1); len = fprintf(output, "\""); - for(i=0; len<MIN(opt_s,string_maxlength)+1; i++) { + for(i=0; i<MIN(opt_s,string_maxlength); i++) { if (str1[i]) { len += display_char(str1[i]); } else { |