problems working it out.
problems working it out.
- Subject: problems working it out.
- From: "D. Walsh" <email@hidden>
- Date: Fri, 17 Jun 2005 13:30:47 -0400
- Mta-interface: amavisd-new-2.3.1-rc3-E (2005-05-06) at daleenterprise.com
I've got the following routine I was trying to make dynamic but because my programming knowledge is as good as most I've run into a brick wall.
Here's my routine
int config(int argc, char *argv[])
bool match = false;
if (argc == 4) { if (strncmp("TEST=-YES", buffer, strlen("TEST=-YES"))) {
Here's what I'm trying to achieve, argv[2] holds the string in question I want to test
int config(int argc, char *argv[])
bool match = false;
if (argc == 4) { if (strncmp(argv[2]"=-YES", buffer, strlen(argv[2]"=-YES"))) {
but obviously this is wrong.
Can someone with better knowledge show me what would be correct please?
-- Dale |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden