From d8eb82a5499cb8a4112f6854405dc87523e39aa1 Mon Sep 17 00:00:00 2001 From: BARATTERO Laurent Date: Tue, 21 Jan 2014 11:18:14 +0100 Subject: forgot to remove dev value for Exception --- src/symlink.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/symlink.cpp') diff --git a/src/symlink.cpp b/src/symlink.cpp index 2e21e92..81fe7ec 100644 --- a/src/symlink.cpp +++ b/src/symlink.cpp @@ -57,7 +57,7 @@ Symlink::getSym(std::string serial_str) throw Symlink::Bad_Symlink(); } //if (serialNumber > 0xffffffff) - if (serialNumber > 0x0) + if (serialNumber > 0xffffffff) { throw Symlink::Bad_Symlink(); } -- cgit v1.2.3