Summary: | ASTERISK-13136: [patch] struct ucred cred not needed on OpenBSD. Compile error | ||
Reporter: | Michiel van Baak (mvanbaak) | Labels: | |
Date Opened: | 2008-11-29 05:34:13.000-0600 | Date Closed: | 2008-11-29 08:42:53.000-0600 |
Priority: | Major | Regression? | No |
Status: | Closed/Complete | Components: | Core/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) 2008112900_clipermissions-readcredentials-obsd.diff.txt | |
Description: | With the new way to read the credentials, you forgot to move the struct ucred cred and the len var to the #ifdef SO_PEERCRED. Attached a patch that makes stuff compile on OpenBSD again. | ||
Comments: | By: Digium Subversion (svnbot) 2008-11-29 08:42:53.000-0600 Repository: asterisk Revision: 159773 U team/eliel/cli-permissions/main/asterisk.c ------------------------------------------------------------------------ r159773 | eliel | 2008-11-29 08:42:52 -0600 (Sat, 29 Nov 2008) | 9 lines Fix a compilation warning in OpenBSD. (closes issue ASTERISK-13136) Reported by: mvanbaak Patches: 2008112900_clipermissions-readcredentials-obsd.diff.txt (with minor changes by me) uploaded by mvanbaak (license 7) ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=159773 |