[prev in list] [next in list] [prev in thread] [next in thread]
List: dcms-dev
Subject: Re: [opencm-dev] CGI interface
From: Philipp =?iso-8859-1?q?G=FChring?= <p.guehring () futureware ! at>
Date: 2002-11-18 23:57:57
[Download RAW message or body]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Jonathan,
> > if(strstr(query,"q=")) query+=2;
>
> ^^^^^^^^^^^^^^^^^^
> This seems broken. Shouldn't it be "strncmp(query, "q=", 2)"?
Thank you very much for telling me, I think I wanted to do it that way:
if(strstr(query,"q=")!=NULL) query=strstr(query,"q="))+2;
What do you think of that?
Many greetings,
- --
~ Philipp Gühring p.guehring@futureware.at
~ http://www.livingxml.net/ ICQ UIN: 6588261
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE92X6HlqQ+F+0wB3oRAi76AJ9pj53kcj9aHREzAOilA4rti2rKXQCeMxUi
Co4EVVUIuZxgy08N6SoxLPc=
=lYHZ
-----END PGP SIGNATURE-----
_______________________________________________
opencm-dev mailing list
opencm-dev@smtp.opencm.org
http://www.opencm.org/mailman/listinfo/opencm-dev
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic