diff options
author | Nalin Dahyabhai <nalin@redhat.com> | 2011-01-07 10:20:53 -0500 |
---|---|---|
committer | Nalin Dahyabhai <nalin@redhat.com> | 2011-01-07 10:20:53 -0500 |
commit | 62fe8e1a5caa605fb77dabc01899fc9b5053b5eb (patch) | |
tree | 253eac9f31d8f1bf960a5b66500d05f14e11fc03 /gdbmdump.c | |
parent | 9bfa2050195a6a925c14926b3afbb48689503779 (diff) | |
download | gdbmdump-62fe8e1a5caa605fb77dabc01899fc9b5053b5eb.tar.gz gdbmdump-62fe8e1a5caa605fb77dabc01899fc9b5053b5eb.tar.xz gdbmdump-62fe8e1a5caa605fb77dabc01899fc9b5053b5eb.zip |
Diffstat (limited to 'gdbmdump.c')
-rw-r--r-- | gdbmdump.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -1,5 +1,5 @@ /* - * Copyright 2008,2010 Red Hat, Inc. + * Copyright 2008,2010,2011 Red Hat, Inc. * * This Program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -66,8 +66,7 @@ dump_entry(datum key, datum value) putchar(' '); for (i = 0; i < key.dsize; i++) { if (isprint(key.dptr[i]) && - (key.dptr[i] != ' ') && - (key.dptr[i] != '\t') && + !isspace(key.dptr[i]) && (key.dptr[i] != '\\')) { putchar(key.dptr[i]); } else { |