| commit | d056005482aa3de7145692a591d4ceb30e540d36 | [log] [tgz] |
|---|---|---|
| author | Martin v. Löwis <martin@v.loewis.de> | Sun Jan 15 07:49:20 2006 +0000 |
| committer | Martin v. Löwis <martin@v.loewis.de> | Sun Jan 15 07:49:20 2006 +0000 |
| tree | b5551ed2d2e8d20a535ab4810fb0ea60f8e5af48 | |
| parent | 42a84fe085009942db57da6272f0461322a2eead [diff] |
Change build format of netlink addresses.
diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c index 7259432..2bddd9f 100644 --- a/Modules/socketmodule.c +++ b/Modules/socketmodule.c
@@ -958,7 +958,7 @@ case AF_NETLINK: { struct sockaddr_nl *a = (struct sockaddr_nl *) addr; - return Py_BuildValue("ii", a->nl_pid, a->nl_groups); + return Py_BuildValue("II", a->nl_pid, a->nl_groups); } #endif /* AF_NETLINK */