]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-rsvp.c
NDOize safeputs() and safeputchar()
[tcpdump] / print-rsvp.c
index ed228d9e8e4522af2a1b18968e8b9f5a3394bf1f..adf1829b19a24c23e600dad58b80487fbbaf57a9 100644 (file)
  * Original code by Hannes Gredler ([email protected])
  */
 
-#ifndef lint
-static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-rsvp.c,v 1.50 2008-08-16 11:36:20 hannes Exp $";
-#endif
-
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #endif
@@ -1148,7 +1143,7 @@ _U_
                     return-1;
                 printf("%s  Session Name: ", ident);
                 for (i = 0; i < namelen; i++)
-                    safeputchar(*(obj_tptr+4+i));
+                    safeputchar(gndo, *(obj_tptr + 4 + i));
                 printf("%s  Setup Priority: %u, Holding Priority: %u, Flags: [%s] (%#x)",
                        ident,
                        (int)*obj_tptr,