quit without free()ing memory...)
$Log$
+Revision 1.13 2001/06/12 14:34:06 brian
+* Fixed sample client code to shut down _correctly_. (...Rather than just
+ quit without free()ing memory...)
+
Revision 1.12 2001/06/12 11:48:54 brian
* Working on cleaning up code. There were LOTS of missing free() calls.
Boy, was I lazy... :)
Revision 1.2 2001/02/07 22:41:51 brian
* Updated ChangeLog to conform to Citadel/UX standards (kinda) :)
+
printf("Logging in\n");
if(user_info = CxUsAuth(hndl, NULL, NULL)) {
+ printf("FRE\n");
free(user_info);
user_info = 0;
room_info = CxRmGoto(hndl, "_BASEROOM_",0);
+ printf("FRE\n");
free(room_info);
room_info = 0;
}
CxClCbShutdown();
+ CxClDelete( hndl );
} else {
printf("Unable to connect to '%s'!\n", argv[1]);