]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
small
authorBert Hubert <bert.hubert@netherlabs.nl>
Sun, 29 Dec 2002 20:50:26 +0000 (20:50 +0000)
committerBert Hubert <bert.hubert@netherlabs.nl>
Sun, 29 Dec 2002 20:50:26 +0000 (20:50 +0000)
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@103 d19b8d6e-7fed-0310-83ef-9ca221ded41b

pdns/misc.cc

index 2bcb996f8e94441b5895319a57783eb4ccb51e5a..189f28d5a65d264c8a790e1fefaaeb1ee9cfc49f 100644 (file)
@@ -218,7 +218,7 @@ const string unquotify(const string &item)
   if(item[epos-1]=='"')
     epos-=1;
 
-  return item.substr(bpos,epos);
+  return item.substr(bpos,epos-1);
 }
 
 void stripLine(string &line)