From d0be442c227f4425f96cf4d849d0c7c80bd6e3ac Mon Sep 17 00:00:00 2001 From: ian Date: Sun, 30 Aug 1998 19:10:04 +0000 Subject: [PATCH] Make --deep option actually work (oops). --- authbind.c | 4 ++-- debian/changelog | 6 ++++++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/authbind.c b/authbind.c index 028ccbf..50d735e 100644 --- a/authbind.c +++ b/authbind.c @@ -57,7 +57,7 @@ int main(int argc, char *const *argv) { while (argc>1 && argv[1][0]=='-') { argc--; argv++; if (!argv[0][1]) break; - if (!strcmp("--deep",argv[0])) { depth= -1; } + if (!strcmp("--deep",argv[0])) { depth= 0; } else if (!strcmp("--depth",argv[0])) { if (argc<=1) usageerror("--depth requires a value"); argc--; argv++; @@ -90,7 +90,7 @@ int main(int argc, char *const *argv) { if (depth > 1) { sprintf(buf,"%ld",depth-1); mustsetenv(AUTHBIND_LEVELS_VAR,buf); - } else if (depth == -1) { + } else if (depth == 0) { mustsetenv(AUTHBIND_LEVELS_VAR,"y"); } else { assert(depth==1); diff --git a/debian/changelog b/debian/changelog index 71afdca..828f79a 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +authbind (1.1.2) unstable; urgency=low + + * Make --deep option actually work (oops). + + -- Ian Jackson Sun, 30 Aug 1998 20:09:39 +0100 + authbind (1.1.1) unstable; urgency=low * Fix Description. -- 2.30.2