* $Header$
*
* Copyright (C) 1987 by the Massachusetts Institute of Technology
+ * For copying and distribution information, please see the file
+ * <mit-copyright.h>.
*
* This routine is part of the client library. It handles
- * creating a connection to the sms server.
+ * creating a connection to the sms server.
*/
#ifndef lint
static char *rcsid_sms_connect_c = "$Header$";
#endif lint
+#include <mit-copyright.h>
#include "sms_private.h"
/*
return errno;
if (connection_status(_sms_conn) == CON_STOPPED) {
register status = connection_errno(_sms_conn);
+ if (!status) status = SMS_CANT_CONNECT;
sms_disconnect();
return status;
}
CHECK_CONNECTED;
params = ¶m_st;
+ params->sms_version_no = sending_version_no;
params->sms_procno = SMS_NOOP;
params->sms_argc = 0;
params->sms_argl = NULL;