diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2010-06-09 08:36:07 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2010-06-09 08:36:07 +0300 |
commit | 9cffcc7e9da8d6190725ff941e4f291a82a2903b (patch) | |
tree | 43453d900b4f0de9f66504a13bc3c8572286c1e2 | |
parent | 7129fc06b0d3f7fec8df095ae4a95dd7a3ee7838 (diff) | |
download | smap-9cffcc7e9da8d6190725ff941e4f291a82a2903b.tar.gz smap-9cffcc7e9da8d6190725ff941e4f291a82a2903b.tar.bz2 |
Bugfix.
* src/smapd.c (smap_loop): Remove unnecessary key modification.
-rw-r--r-- | src/smapd.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/smapd.c b/src/smapd.c index 321b453..f3ea8f8 100644 --- a/src/smapd.c +++ b/src/smapd.c @@ -177,10 +177,6 @@ smap_loop(FILE *in, FILE *out, const char *id, struct smap_conninfo *conninfo) } *key++ = 0; - len = strlen(key); - if (key[len-1] == '*') /* FIXME: why? */ - key[len-1] = 0; - if (smap_trace_option) smap_ostream_printf(smap_trace_str, "%s %s => ", |