From 94113dbaec206b4c15b5b03871ae3642efaf0290 Mon Sep 17 00:00:00 2001 From: Håkon Nessjøen Date: Mon, 11 Oct 2010 01:16:10 +0200 Subject: Renamed files, added license info and did some minior fixes. --- users.c | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'users.c') diff --git a/users.c b/users.c index 9d84f30..6ae39c8 100644 --- a/users.c +++ b/users.c @@ -1,3 +1,21 @@ +/* + Mac-Telnet - Connect to RouterOS routers via MAC address + Copyright (C) 2010, Håkon Nessjøen + + This program 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. + + This program 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 this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +*/ #include #include #include @@ -39,6 +57,7 @@ void readUserfile() { mt_users[i].username[0] = '\0'; } + fclose(file); } struct mt_credentials* findUser(unsigned char *username) { -- cgit v1.2.3