/****************************************************************************** * 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: ******************************************************************************/ /* ---INFOBEGIN--- * DO NOT DELETE THIS COMMENT BLOCK!!! COMMAND delay none "set the minimum retry period (in milliseconds)" * ---INFOEND--- */ #include "client.h" #include "util.h" #include "table.h" #include int ldelay_main(int argc, char *const *argv, char **envp) { char *newdelaytime; if (argc < 2) { ffprintf(STDINFO, "minimum retry time set to %ld msec.\n", target_delay); return 0; } else newdelaytime = argv[1]; if (newdelaytime == (char*) 0) return 1; target_delay = atoi(newdelaytime); if (target_delay < MINDELAY) target_delay = MINDELAY; return 0; }