Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
pike
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pikelang
pike
Commits
e42b0698
Commit
e42b0698
authored
26 years ago
by
Niels Möller
Browse files
Options
Downloads
Patches
Plain Diff
Removed variable timeout_handler in class imap_style.
Rev: lib/modules/Protocols.pmod/Line.pmod:1.6
parent
f88606e8
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lib/modules/Protocols.pmod/Line.pmod
+5
-2
5 additions, 2 deletions
lib/modules/Protocols.pmod/Line.pmod
with
5 additions
and
2 deletions
lib/modules/Protocols.pmod/Line.pmod
+
5
−
2
View file @
e42b0698
/*
* $Id: Line.pmod,v 1.
5
1998/10/1
2 15:44:27
nisse Exp $
* $Id: Line.pmod,v 1.
6
1998/10/1
6 00:08:11
nisse Exp $
*
* Line-buffered protocol handling.
*
...
...
@@ -167,7 +167,6 @@ class simple
if (handle_data || sizeof(read_buffer) || sizeof(multi_line_buffer)) {
werror("close_callback(): Unexpected close!\n");
}
con->set_nonblocking(0,0,0);
con->close();
con = 0;
}
...
...
@@ -219,7 +218,9 @@ class imap_style
function handle_literal = 0;
int literal_length;
#if 0
function timeout_handler = 0;
#endif
static void read_callback(mixed ignored, string data)
{
...
...
@@ -255,6 +256,7 @@ class imap_style
handle_literal = callback;
}
#if 0
static void do_timeout()
{
if (timeout_handler)
...
...
@@ -272,4 +274,5 @@ class imap_style
timeout_handler = callback;
::create(con_, timeout_);
}
#endif
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment