diff --git a/src/session.c b/src/session.c
index e4780e9c9ae3bf4986f9771b25f6d6235be302dd..75c37c86e654c449b3db5e146c82e74ea5a2e46d 100644 (file)
--- a/src/session.c
+++ b/src/session.c
+/* $Id$ */
+
+/***
+ This file is part of fusedav.
+
+ fusedav is free software; you can redistribute it and/or modify it
+ under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ fusedav is distributed in the hope that it will be useful, but WITHOUT
+ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+ or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
+ License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with fusedav; if not, write to the Free Software Foundation,
+ Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+***/
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdio.h>
#include <assert.h>
#include <pthread.h>
static char* ask_user(char *p, int hidden) {
char q[256], *r;
struct termios t;
- int c, l;
-
+ int c = 0, l;
if (hidden) {
if (!isatty(fileno(stdin)))