Physics:crl (07/04/82)
I have found a bug in the code that processes the "version" control message. In control.c, the function c_version is called with the arguments (cargc, cargv). However, in the function declaration, it says: c_version(h, ctlmsgtext) struct hbuf *h; char *ctlmsgtext; which will obviously not do the expected thing when called. A diff of the change follows Charles LaBrec pur-ee!physics:crl ----------------------------------------------------------------------- *** control.c.old Sat Jul 3 17:05:08 1982 --- control.c Sat Jul 3 17:06:11 1982 *************** *** 55,61 else if (eq("senduuname")) c_senduuname(cargc, cargv); else if (eq("version")) ! c_version(cargc, cargv); else c_unknown(h, ctlmsgtext); } --- 55,61 ----- else if (eq("senduuname")) c_senduuname(cargc, cargv); else if (eq("version")) ! c_version(h, ctlmsgtext); else c_unknown(h, ctlmsgtext); }