summaryrefslogtreecommitdiff
path: root/usr.bin/cvs
diff options
context:
space:
mode:
authorTobias Stoeckmann <tobias@cvs.openbsd.org>2008-03-08 21:58:35 +0000
committerTobias Stoeckmann <tobias@cvs.openbsd.org>2008-03-08 21:58:35 +0000
commitfe9d19790b414c4411f5b24a852b67e108ece729 (patch)
treece8ccc1e9ffcef1246a90478fdd8b039dc8b5a4d /usr.bin/cvs
parent83eca1302d993efc79b525aa8958bbd400fb5eaf (diff)
Set instead of logically ORing this variable.
ok joris
Diffstat (limited to 'usr.bin/cvs')
-rw-r--r--usr.bin/cvs/modules.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/cvs/modules.c b/usr.bin/cvs/modules.c
index 21cce203112..a0ac43feafc 100644
--- a/usr.bin/cvs/modules.c
+++ b/usr.bin/cvs/modules.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: modules.c,v 1.12 2008/03/02 11:58:45 joris Exp $ */
+/* $OpenBSD: modules.c,v 1.13 2008/03/08 21:58:34 tobias Exp $ */
/*
* Copyright (c) 2008 Joris Vink <joris@openbsd.org>
*
@@ -234,7 +234,7 @@ cvs_module_lookup(char *name)
cvs_file_get(name, 0, &(mc->mc_modules));
mc->mc_canfree = 1;
mc->mc_name = name;
- mc->mc_flags |= MODULE_ALIAS;
+ mc->mc_flags = MODULE_ALIAS;
mc->mc_prog = NULL;
return (mc);