|
-
Dec 2nd, 2002, 08:38 PM
#1
Thread Starter
Hyperactive Member
Dammned Variables
This is driving me nut's
why wont this work... and i know for a fact the pkt.u.buf variable contains the string i want
err = dpGetPlayerName(myDP, idFrom, nameBuf, sizeof(nameBuf));
pkt.u.buf[size-sizeof(dp_packetType_t)] = 0; /* Null terminate */
if (pkt.u.buf == "<userlist") {
printf("CALLED")
}
it just dosent activate the stament. and i dont know why
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|