diff options
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); |