summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorportix <none@none>2013-03-18 13:26:34 +0100
committerportix <none@none>2013-03-18 13:26:34 +0100
commitf98991177a2c21acfe737d9180ce6e18fa924ffa (patch)
tree79fdca33cd2ce24afa5e3a174957b66142bc1feb /tools
parent24277b15408328def1e0d9f9b422cd9ef7ad0959 (diff)
downloaddwb-f98991177a2c21acfe737d9180ce6e18fa924ffa.zip
Fixing revision check when retrieving metadata
Diffstat (limited to 'tools')
-rw-r--r--tools/dwbem.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/dwbem.c b/tools/dwbem.c
index f610acc1..c3c7d770 100644
--- a/tools/dwbem.c
+++ b/tools/dwbem.c
@@ -696,7 +696,11 @@ sync_meta(const char *output)
response += 2;
while (*response && *response != ',')
- fputc(*(response++), file);
+ {
+ if (g_ascii_isxdigit(*response))
+ fputc(*response, file);
+ response++;
+ }
fputc('\n', file);
SKIP(response, '\n');