export the function client_is_expired()

Instead of passing the pointer to the "expired" flag to
processListOfCommands(), this function should use the client API to
check this flag.  We can now remove the "global_expired" hack
introduced recently.
This commit is contained in:
Max Kellermann
2008-08-29 09:37:11 +02:00
parent 8b1b82b363
commit 8811c0e059
4 changed files with 6 additions and 12 deletions

View File

@@ -29,8 +29,7 @@
struct client;
int processListOfCommands(struct client *client,
int *permission, int *expired,
int processListOfCommands(struct client *client, int *permission,
int listOK, struct strnode *list);
int processCommand(struct client *client,