summaryrefslogtreecommitdiff
path: root/apt-pkg/contrib/strutl.cc
diff options
context:
space:
mode:
authorArch Librarian <arch@canonical.com>2004-09-20 16:57:13 +0000
committerArch Librarian <arch@canonical.com>2004-09-20 16:57:13 +0000
commit500827ed367c8ac277abbd582d389f6738905a09 (patch)
tree858f2638647a3ae5ad14006f2c3be28bd0456811 /apt-pkg/contrib/strutl.cc
parent678bc33eaf95356d1b63090d220b65162478b89a (diff)
Pedantic fixes
Author: jgg Date: 2001-03-11 07:22:19 GMT Pedantic fixes
Diffstat (limited to 'apt-pkg/contrib/strutl.cc')
-rw-r--r--apt-pkg/contrib/strutl.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/apt-pkg/contrib/strutl.cc b/apt-pkg/contrib/strutl.cc
index d7a5925da..9be173542 100644
--- a/apt-pkg/contrib/strutl.cc
+++ b/apt-pkg/contrib/strutl.cc
@@ -1,6 +1,6 @@
// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
-// $Id: strutl.cc,v 1.37 2001/02/23 06:08:57 jgg Exp $
+// $Id: strutl.cc,v 1.38 2001/03/11 07:22:19 jgg Exp $
/* ######################################################################
String Util - Some useful string functions.
@@ -495,7 +495,7 @@ string LookupTag(string Message,const char *Tag,const char *Default)
// ---------------------------------------------------------------------
/* This inspects the string to see if it is true or if it is false and
then returns the result. Several varients on true/false are checked. */
-int StringToBool(string Text,int Default = -1)
+int StringToBool(string Text,int Default)
{
char *End;
int Res = strtol(Text.c_str(),&End,0);