diff options
author | Werner Koch <[email protected]> | 2007-07-05 18:32:34 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2007-07-05 18:32:34 +0000 |
commit | 49a4ba3ce049f29fc5021605b7bdec71040a8fa2 (patch) | |
tree | c5928dc324cc90a6554e2f807bbd5271b1a06808 /src/assuan-util.c | |
parent | 2007-07-04 Marcus Brinkmann <[email protected]> (diff) | |
download | libassuan-1.0.2.tar.gz libassuan-1.0.2.zip |
Switched to LGPLv3.libassuan-1.0.2
Diffstat (limited to 'src/assuan-util.c')
-rw-r--r-- | src/assuan-util.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/assuan-util.c b/src/assuan-util.c index d12277f..6539330 100644 --- a/src/assuan-util.c +++ b/src/assuan-util.c @@ -5,7 +5,7 @@ * * Assuan is free software; you can redistribute it and/or modify it * under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation; either version 2.1 of + * published by the Free Software Foundation; either version 3 of * the License, or (at your option) any later version. * * Assuan is distributed in the hope that it will be useful, but @@ -14,9 +14,7 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, - * USA. + * License along with this program; if not, see <http://www.gnu.org/licenses/>. */ #include <config.h> @@ -152,6 +150,7 @@ assuan_set_flag (assuan_context_t ctx, assuan_flag_t flag, int value) switch (flag) { case ASSUAN_NO_WAITPID: ctx->flags.no_waitpid = value; break; + case ASSUAN_CONFIDENTIAL: ctx->confidential = value; break; } } @@ -164,6 +163,7 @@ assuan_get_flag (assuan_context_t ctx, assuan_flag_t flag) switch (flag) { case ASSUAN_NO_WAITPID: return ctx->flags.no_waitpid; + case ASSUAN_CONFIDENTIAL: return ctx->confidential; } return 0; } |