]> andersk Git - moira.git/blobdiff - gdb/gdb_serv.c
Suppress warning about ownership changes - administrators have been warned.
[moira.git] / gdb / gdb_serv.c
index 685e22da4f0859ac78d9d50d470eaa871b2cb5ac..b32683945546ae8d94abeaa0f78f78981d45024e 100644 (file)
@@ -36,9 +36,12 @@ static char *rcsid_gdb_serv_c = "$Header$";
 /*     
 /*     Author: Noah Mendelsohn
 /*     Copyright: 1986 MIT Project Athena 
+/*             For copying and distribution information, please see
+/*             the file <mit-copyright.h>.
 /*     
 /************************************************************************/
 
+#include <mit-copyright.h>
 #include <stdio.h>
 #include <strings.h>
 #include "gdb.h"
@@ -330,6 +333,7 @@ TUPLE *responsep;
        (void) strcpy(STRING_DATA(*((STRING *)FIELD_FROM_TUPLE(out_tuple,0))),
                       server_id);
 
+       if (parms == NULL) parms = "";
        (void) string_alloc((STRING *)FIELD_FROM_TUPLE(out_tuple, TSV_PARMS),
                     strlen(parms)+1);
        (void) strcpy(STRING_DATA(*((STRING *)FIELD_FROM_TUPLE(out_tuple,1))),
@@ -459,6 +463,7 @@ char *parms;                                        /*   "     "       */
        /*      
        /*----------------------------------------------------------*/
 
+/*ARGSUSED*/
 int
 g_irtc(op, hcon, arg)
 OPERATION op;
This page took 0.031711 seconds and 4 git commands to generate.