*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#ifdef HAVE_CONFIG_H
{
int i;
int start;
- int length;
-
/* clear the args from the last string */
for (i=0 ; i<cmd_argc ; i++)
start++;
}
- length = 0;
-
if (*text == '\n') {
/* a newline seperates commands in the buffer */
text++;
if (tree) {
proto_item *quakeworld_item;
quakeworld_item = proto_tree_add_item(tree, proto_quakeworld,
- tvb, 0, -1, FALSE);
+ tvb, 0, -1, ENC_NA);
quakeworld_tree = proto_item_add_subtree(quakeworld_item, ett_quakeworld);
proto_tree_add_uint_format(quakeworld_tree,
direction == DIR_S2C ?
data_handle = find_dissector("data");
Initialized=TRUE;
} else {
- dissector_delete("udp.port", ServerPort, quakeworld_handle);
+ dissector_delete_uint("udp.port", ServerPort, quakeworld_handle);
}
/* set port for future deletes */
ServerPort=gbl_quakeworldServerPort;
- dissector_add("udp.port", gbl_quakeworldServerPort, quakeworld_handle);
+ dissector_add_uint("udp.port", gbl_quakeworldServerPort, quakeworld_handle);
}