Changeset 2105 for trunk/server/common


Ignore:
Timestamp:
Dec 31, 2011, 10:26:23 PM (12 years ago)
Author:
andersk
Message:
Fix admof to compile with OpenAFS 1.6
Location:
trunk/server/common/oursrc/accountadm
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/server/common/oursrc/accountadm/Makefile.in

    r1693 r2105  
    1010all-local: admof signup-scripts-frontend
    1111
    12 admof: admof.c
    13         $(CC) $(CPPFLAGS) $(CFLAGS) $< -L/usr/lib/afs -L/usr/lib64/afs -lprot -lauth -lrxkad -lubik -laudit -lsys -lrx -llwp -lsys -lafsutil -lcom_err -lresolv -lkrb5 -ldes -o $@
     12admof: LDLIBS = -lafsauthent_pic -lafsrpc_pic -lresolv -lkrb5 -lpthread
     13admof: admof.o
    1414
    1515install:
     
    2626
    2727clean:
    28         rm -f admof signup-scripts-frontend
     28        rm -f admof admof.o signup-scripts-frontend
    2929
    3030distclean: clean
  • trunk/server/common/oursrc/accountadm/admof.c

    r1693 r2105  
    2121#include <unistd.h>
    2222#include <netinet/in.h>
     23#include <afs/stds.h>
    2324#include <afs/vice.h>
    2425#include <afs/venus.h>
     
    9091    }
    9192
    92     /* Note: this first free probably should be xdr_free in OpenAFS 1.5.
    93      * See commits b40b606 and f02f2e8 */
    94     free(tids.idlist_val);
     93    xdr_free((xdrproc_t) xdr_idlist, &tids);
    9594    tids.idlist_val = NULL;
    9695    free(tnames.namelist_val);
Note: See TracChangeset for help on using the changeset viewer.