Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gevent
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gevent
Commits
8bd3bba3
Commit
8bd3bba3
authored
Feb 09, 2012
by
Denis Bilenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dnshelper.c: remove unused argument from internal function
parent
70932107
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
gevent/dnshelper.c
gevent/dnshelper.c
+2
-4
No files found.
gevent/dnshelper.c
View file @
8bd3bba3
...
...
@@ -21,7 +21,7 @@
static
PyObject
*
_socket_error
=
0
;
static
PyObject
*
get_socket_object
(
PyObject
**
pobject
,
const
char
*
name
,
int
incref
)
get_socket_object
(
PyObject
**
pobject
,
const
char
*
name
)
{
if
(
!*
pobject
)
{
PyObject
*
_socket
;
...
...
@@ -40,8 +40,6 @@ get_socket_object(PyObject** pobject, const char* name, int incref)
*
pobject
=
PyExc_IOError
;
}
}
if
(
incref
)
Py_INCREF
(
*
pobject
);
return
*
pobject
;
}
...
...
@@ -124,7 +122,7 @@ parse_h_addr_list(struct hostent *h)
break
;
}
default:
PyErr_SetString
(
get_socket_object
(
&
_socket_error
,
"error"
,
0
),
"unsupported address family"
);
PyErr_SetString
(
get_socket_object
(
&
_socket_error
,
"error"
),
"unsupported address family"
);
Py_DECREF
(
result
);
result
=
NULL
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment