]> jfr.im git - irc.git/blob - software/RELEASES/ircservices/achurch.org/services/lists/ircservices-coding/2002/000455.html
rename -> *.git
[irc.git] / software / RELEASES / ircservices / achurch.org / services / lists / ircservices-coding / 2002 / 000455.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
2 <HTML>
3 <HEAD>
4 <TITLE> [IRCServices Coding] segmentation faults - ircservices 5.0a26
5 </TITLE>
6 <LINK REL="Index" HREF="index.html" >
7 <LINK REL="made" HREF="mailto:ircservices-coding%40ircservices.za.net?Subject=%5BIRCServices%20Coding%5D%20segmentation%20faults%20-%20ircservices%205.0a26&In-Reply-To=">
8 <META NAME="robots" CONTENT="index,nofollow">
9 <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
10 <LINK REL="Previous" HREF="000454.html">
11 <LINK REL="Next" HREF="000456.html">
12 </HEAD>
13 <BODY BGCOLOR="#ffffff">
14 <H1>[IRCServices Coding] segmentation faults - ircservices 5.0a26</H1>
15 <B>Romek Kriszti&#225;n</B>
16 <A HREF="mailto:ircservices-coding%40ircservices.za.net?Subject=%5BIRCServices%20Coding%5D%20segmentation%20faults%20-%20ircservices%205.0a26&In-Reply-To="
17 TITLE="[IRCServices Coding] segmentation faults - ircservices 5.0a26">r-krisztian at softhome.net
18 </A><BR>
19 <I>Sun Mar 31 11:05:59 PST 2002</I>
20 <P><UL>
21 <LI>Previous message: <A HREF="000454.html">[IRCServices Coding] segmentation faults - ircservices 5.0a26
22 </A></li>
23 <LI>Next message: <A HREF="000456.html">[IRCServices Coding] segmentation faults - ircservices 5.0a26
24 </A></li>
25 <LI> <B>Messages sorted by:</B>
26 <a href="date.html#455">[ date ]</a>
27 <a href="thread.html#455">[ thread ]</a>
28 <a href="subject.html#455">[ subject ]</a>
29 <a href="author.html#455">[ author ]</a>
30 </LI>
31 </UL>
32 <HR>
33 <!--beginarticle-->
34 <PRE>Ahh, I was too fast. Sorry.
35
36 If I use /cs register and give a description, the only one word is added to
37 the description. So strtok(NULL, &quot;&quot;) gives back one parameter,
38 strtok_remaining() gives all that is remaining. Can you help me?
39
40 AngryWolf
41
42 ----- Original Message -----
43 From: George Stamatiou
44 To: <A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices-coding">ircservices-coding at ircservices.za.net</A>
45 Sent: Sunday, March 31, 2002 8:32 PM
46 Subject: Re: [IRCServices Coding] segmentation faults - ircservices 5.0a26
47
48
49 well....
50 there are a lot that you have to change.there are a lot of files with this
51 line.
52 only for the /ns help is on /modules/nickserv.then pico main.c.then on
53 function
54 static void do_help(User *u)
55 {
56 char *cmd = strtok_remaining();
57
58 replace the last line with the
59 char *cmd = strtok(NULL, &quot;&quot;);
60 it's ok ONLY for the /ns help.i hope there is an easier way to replace all
61 and not by hand :/
62
63
64
65 Romek Kriszti&#225;n wrote:
66
67 Thank you for your message!It's the same if I don't use enough parameters
68 for /cs register (withoutdescription). And also in version a25 it was
69 okey.How did you do that? Where is that line to modify? Which file?-----
70 Original Message -----From: George Stamatiou &lt;<A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices-coding">master at xchat.gr</A>&gt;To:
71 &lt;<A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices-coding">ircservices-coding at ircservices.za.net</A>&gt;Sent: Sunday, March 31, 2002 8:19
72 PMSubject: Re: [IRCServices Coding] segmentation faults - ircservices 5.0a26
73 well, seems that i have the same problem.when i do a /ns help serverices
74 crashes.if i replace thestrtok_remaining(); with strtok(NULL, &quot;&quot;); and it
75 works ok.I don't know what's going wrong.I have bahamut 1.4(31).the version
76 before (a25) hasn't got that
77 problem.Thanks--------------------------------------------------------------
78 ----To unsubscribe or change your subscription options,
79 visit:<A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices-coding">http://www.ircservices.za.net/mailman/listinfo/ircservices-coding</A>
80 ------------------------------------------------------------------To
81 unsubscribe or change your subscription options,
82 visit:<A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices-coding">http://www.ircservices.za.net/mailman/listinfo/ircservices-coding</A>
83
84
85 </PRE>
86
87 <!--endarticle-->
88 <HR>
89 <P><UL>
90 <!--threads-->
91 <LI>Previous message: <A HREF="000454.html">[IRCServices Coding] segmentation faults - ircservices 5.0a26
92 </A></li>
93 <LI>Next message: <A HREF="000456.html">[IRCServices Coding] segmentation faults - ircservices 5.0a26
94 </A></li>
95 <LI> <B>Messages sorted by:</B>
96 <a href="date.html#455">[ date ]</a>
97 <a href="thread.html#455">[ thread ]</a>
98 <a href="subject.html#455">[ subject ]</a>
99 <a href="author.html#455">[ author ]</a>
100 </LI>
101 </UL>
102
103 </body></html>