I've been rewriting some functions in my mud and have noticed some inconsistancies with clearing buffers at the top of functions. My suggestion is that if you are using a buffer (eg., buf, buf2) in any functions that you include the following line of code at the very start of any function that uses buffers: *buf = '\0' <--- clears the buffer Mike Levine mrunix@ic.net +-----------------------------------------------------------+ | Ensure that you have read the CircleMUD Mailing List FAQ: | | http://cspo.queensu.ca/~fletcher/Circle/list_faq.html | | Or send 'info circle' to majordomo@cspo.queensu.ca | +-----------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/18/00 PST