]> andersk Git - moira.git/blame - lib/mr_ops.c
fixed capitalization of a message, and make recursive not the default
[moira.git] / lib / mr_ops.c
CommitLineData
de56407f 1/*
2 * $Source$
3 * $Author$
4 * $Header$
5 *
6 * Copyright (C) 1987 by the Massachusetts Institute of Technology
7 *
8 * This routine is part of the client library. It handles
9 * creating a connection to the sms server.
10 */
11
12#ifndef lint
13static char *rcsid_sms_do_update_c = "$Header$";
14#endif lint
15
16#include "sms_private.h"
17
18int sms_do_update()
19{
20 int status;
21 sms_params param_st;
22 struct sms_params *params = NULL;
23 struct sms_params *reply = NULL;
24
25 CHECK_CONNECTED;
26 params = &param_st;
89371417 27 params->sms_version_no = sending_version_no;
de56407f 28 params->sms_procno = SMS_DO_UPDATE;
29 params->sms_argc = 0;
30 params->sms_argl = NULL;
31 params->sms_argv = NULL;
32
33 if ((status = sms_do_call(params, &reply)) == 0)
34 status = reply->sms_status;
35
36 sms_destroy_reply(reply);
37
38 return status;
39}
40
41/*
42 * Local Variables:
43 * mode: c
44 * c-indent-level: 4
45 * c-continued-statement-offset: 4
46 * c-brace-offset: -4
47 * c-argdecl-indent: 4
48 * c-label-offset: -4
49 * End:
50 */
This page took 0.056882 seconds and 5 git commands to generate.