Raised This Month: $ Target: $400
 0% 

Stack Error - What am I doing wrong?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Lord of Destruction
Member
Join Date: Sep 2004
Old 10-06-2007 , 23:29   Re: Stack Error - What am I doing wrong?
Reply With Quote #6

increasing the stack size may be an improper way of solving your problem.

Why are you using "static" in global scope (where it's nearly useless) but not in local scope where it's actually REALLY needed^^

Code:
new err[MSGL2] = "";
format(err,MSGL1,"SQL statement last char != ; SQL = %s",sql);

public send_sock(const callback,const data[]){
    new error = 0
    new constring[1024]

public receive_data(data[]){
    new data2[1024];
    format(data2,1023,data)
You can also replace "format" with "formatex" in most cases of your code

Last edited by Lord of Destruction; 10-06-2007 at 23:43.
Lord of Destruction is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 16:08.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode