diff options
author | Håkon Nessjøen <haakon.nessjoen@gmail.com> | 2010-10-11 01:16:10 +0200 |
---|---|---|
committer | Håkon Nessjøen <haakon.nessjoen@gmail.com> | 2010-10-11 01:16:10 +0200 |
commit | 94113dbaec206b4c15b5b03871ae3642efaf0290 (patch) | |
tree | ba1852c9a3b8234dcdfaf830066e2cb9b499b2ac /users.c | |
parent | 8a9a47179332700c5c270dafc6ef014417015f99 (diff) | |
download | MAC-Telnet-94113dbaec206b4c15b5b03871ae3642efaf0290.tar.gz MAC-Telnet-94113dbaec206b4c15b5b03871ae3642efaf0290.zip |
Renamed files, added license info and did some minior fixes.
Diffstat (limited to 'users.c')
-rw-r--r-- | users.c | 19 |
1 files changed, 19 insertions, 0 deletions
@@ -1,3 +1,21 @@ +/* + Mac-Telnet - Connect to RouterOS routers via MAC address + Copyright (C) 2010, Håkon Nessjøen <haakon.nessjoen@gmail.com> + + 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 <stdio.h> #include <stdlib.h> #include <string.h> @@ -39,6 +57,7 @@ void readUserfile() { mt_users[i].username[0] = '\0'; } + fclose(file); } struct mt_credentials* findUser(unsigned char *username) { |