r25598: Add missing become_root/unbecome_root around calls of add_aliases.
[samba.git] / source / python / py_srvsvc_conv.c
index de43f070ed0297e5d62261711c7229bc84aa35ce..8de851dbe6f96c042e0e78fb866bfd8393dde37f 100644 (file)
@@ -5,7 +5,7 @@
    
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
-   the Free Software Foundation; either version 2 of the License, or
+   the Free Software Foundation; either version 3 of the License, or
    (at your option) any later version.
    
    This program is distributed in the hope that it will be useful,
@@ -14,8 +14,7 @@
    GNU General Public License for more details.
    
    You should have received a copy of the GNU General Public License
-   along with this program; if not, write to the Free Software
-   Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+   along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
 
 #include "python/py_srvsvc.h"
@@ -33,8 +32,6 @@ static struct pyconv py_SRV_INFO_101[] = {
 
 BOOL py_from_SRV_INFO_101(PyObject **dict, SRV_INFO_101 *info)
 {
-       PyObject *obj;  
-
        *dict = from_struct(info, py_SRV_INFO_101);
 
        PyDict_SetItemString(*dict, "level", PyInt_FromLong(101));