From 5366971c390027a1eae26272a4b33fc2713c8041 Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Sun, 23 Jul 2006 19:42:59 +0000 Subject: [PATCH] fixed compilation error in previous checkin --- src/identify_client.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/identify_client.cpp b/src/identify_client.cpp index b0ddf7e6b..8f333d8f0 100755 --- a/src/identify_client.cpp +++ b/src/identify_client.cpp @@ -125,9 +125,9 @@ namespace fingerprint ret("..", 0, 0, 0, 0); ret.name[1] = 0; ret.tag_version = 0; - if (sscanf(ids, "%c%d-%d-%d--", &ret.id[0], &ret.major_version, &ret.minor_version + if (sscanf(ids, "%c%d-%d-%d--", &ret.name[0], &ret.major_version, &ret.minor_version , &ret.revision_version) != 4 - || !std::isprint(ret.id[0])) + || !std::isprint(ret.name[0])) return boost::optional(); return boost::optional(ret);