1
0
forked from bip/bip

tiny fixes, debian/ mostly

This commit is contained in:
nohar 2005-10-09 12:40:38 +00:00
parent f4f0cda849
commit c27294e084
4 changed files with 34 additions and 6 deletions

6
debian/changelog vendored
View File

@ -1,5 +1,7 @@
bip (0.0-1) unstable; urgency=low
bip (0.5.0-1) unstable; urgency=low
* Initial release.
* debian/rules: Initial package
-- Arnaud Cornet <nohar@t1r.net> Thu, 20 Apr 2005 22:00:45 -0200
-- Arnaud Cornet <arnaud.cornet@gmail.com> Sun, 09 Oct 2005 14:16:42 +0200

26
debian/copyright vendored Normal file
View File

@ -0,0 +1,26 @@
This package was debianized by Arnaud Cornet <arnaud.cornet@gmail.com> on
Sun, 09 Oct 2005 14:18:48 +0200
It was downloaded from http://bip.berlios.de
Upstream Author: Arnaud Cornet and loïc Gomez
Copyright:
This package 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; version 2 dated June, 1991.
This package 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 package; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
02110-1301, USA.
On Debian GNU/Linux systems, the complete text of the GNU General
Public License can be found in `/usr/share/common-licenses/GPL'.

View File

@ -70,7 +70,7 @@ static void hash_binary(char *hex, unsigned char **password, unsigned int *seed)
if (strlen(hex) != 40)
fatal("Incorrect password format %s\n", hex);
md5 = malloc(20);
for (i = 0; i < 20; i++) {
sscanf(hex + 2 * i, "%02x", &buf);
@ -1160,7 +1160,7 @@ int adm_bip(struct link_client *ic, struct line *line)
nick = LINK(ic)->prev_nick;
if (line->elemc < 2)
return OK_FORGET;
if (strcasecmp(line->elemv[1], "RELOAD") == 0) {
reloading_client = ic;
sighup = 1;
@ -1193,7 +1193,7 @@ void free_conf(list_t *l)
switch (t->tuple_type) {
case TUPLE_STR:
free(t->pdata); /* no break, for the style */
case TUPLE_INT:
case TUPLE_INT:
free(t);
break;
case TUPLE_LIST:

View File

@ -40,7 +40,7 @@ list_t *parse_conf(FILE *file)
return NULL;
}
return root_list;
}
}
%}
%%
(" "|\t)+