diff options
author | Linus Nordberg <linus@nordu.net> | 2010-10-03 14:15:09 +0200 |
---|---|---|
committer | Linus Nordberg <linus@nordu.net> | 2010-10-03 14:15:09 +0200 |
commit | cd0913e7b18d5942c12bc987b89d6b6246557569 (patch) | |
tree | fa42efa6bd97763b6da9bd83b8cdc4875ebebd81 /lib/examples | |
parent | bdc1d15eb080569aeb41bf0e110c75ba4772d300 (diff) |
WIP
Diffstat (limited to 'lib/examples')
-rw-r--r-- | lib/examples/Makefile | 2 | ||||
-rw-r--r-- | lib/examples/client-blocking.c | 9 |
2 files changed, 1 insertions, 10 deletions
diff --git a/lib/examples/Makefile b/lib/examples/Makefile index 2771542..692e9d6 100644 --- a/lib/examples/Makefile +++ b/lib/examples/Makefile @@ -8,4 +8,4 @@ client-blocking: client-blocking.c ../libradsec.a $(HFILES) $(CC) $(CFLAGS) -o $@ $< -L /usr/lib/freeradius -lfreeradius-radius -L .. -lradsec -L /usr/local/lib -levent_core clean: - -rm *.o client-blocking *.gch + -rm *.o *.gch client-blocking diff --git a/lib/examples/client-blocking.c b/lib/examples/client-blocking.c index f14e280..54fc05b 100644 --- a/lib/examples/client-blocking.c +++ b/lib/examples/client-blocking.c @@ -40,15 +40,6 @@ rsx_client (const char *srvname, int srvport) return rs_conn_err_pop (conn); req = NULL; -#if 0 - if (rs_packet_create_acc_request (conn, &req, USER_NAME, USER_PW)) - return rs_conn_err_pop (conn); - - if (rs_packet_send (conn, req, NULL)) - return rs_conn_err_pop (conn); - req = NULL; -#endif - if (rs_conn_receive_packet (conn, &resp)) return rs_conn_err_pop (conn); fr_pkt = rs_packet_frpkt (resp); |