[IRCServices Coding] segmentation faults - ircservices 5.0a26

Romek Krisztián r-krisztian at softhome.net
Sun Mar 31 11:01:48 PST 2002


Okey, it's now working, thank you! (I've replaced them by hand :))))
ircservices is too good to keep bugs in there! :))

Thx
Lots of love

AngryWolf

----- Original Message -----
From: George Stamatiou
To: ircservices-coding at ircservices.za.net
Sent: Sunday, March 31, 2002 8:32 PM
Subject: Re: [IRCServices Coding] segmentation faults - ircservices 5.0a26


well....
there are a lot that you have to change.there are a lot of files with this
line.
only for the /ns help is on /modules/nickserv.then pico main.c.then on
function
static void do_help(User *u)
{
    char *cmd = strtok_remaining();

replace the last line with the
 char *cmd = strtok(NULL, "");
it's ok ONLY for the /ns help.i hope there is an easier way to replace all
and not by hand :/



Romek Krisztián wrote:

Thank you for your message!It's the same if I don't use enough parameters
for /cs register (withoutdescription). And also in version a25 it was
okey.How did you do that? Where is that line to modify? Which file?-----
Original Message -----From: George Stamatiou <master at xchat.gr>To:
<ircservices-coding at ircservices.za.net>Sent: Sunday, March 31, 2002 8:19
PMSubject: Re: [IRCServices Coding] segmentation faults - ircservices 5.0a26
well, seems that i have the same problem.when i do a /ns help serverices
crashes.if i replace thestrtok_remaining();  with strtok(NULL, ""); and it
works ok.I don't know what's going wrong.I have bahamut 1.4(31).the version
before (a25) hasn't got that
problem.Thanks--------------------------------------------------------------
----To unsubscribe or change your subscription options,
visit:http://www.ircservices.za.net/mailman/listinfo/ircservices-coding
------------------------------------------------------------------To
unsubscribe or change your subscription options,
visit:http://www.ircservices.za.net/mailman/listinfo/ircservices-coding