/******************************************************************************
* This file is Copyright 1993 by Philip G. Richards.  All Rights Reserved.
* See the file README that came with this distribution for permissions on
* code usage, copying, and distribution.  It comes with absolutely no warranty.
* email: <pgr@prg.ox.ac.uk>
******************************************************************************/

/* ---INFOBEGIN--- *  DO NOT DELETE THIS COMMENT BLOCK!!!
COMMAND burst none "set the number of quick retries made"
 *  ---INFOEND---  */

#include "client.h"
#include "util.h"
#include "table.h"
#include <stdlib.h>

int
lburst_main(int argc, char *const*argv, char **envp)
{
    char *newburst;

    if (argc < 2)
    {
        ffprintf(STDINFO, "burst count set to %d.\n", burst_max);
	return 0;
    }
    else
	newburst = argv[1];

    if (newburst == (char*) 0)
	return 1;

    burst_max = atoi(newburst);
    if (burst_max < 1)
	burst_max = 1;

    return 0;
}


syntax highlighted by Code2HTML, v. 0.9.1