summaryrefslogtreecommitdiffstats
path: root/usr.sbin/i4b/isdnmonitor/monitor.h
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/i4b/isdnmonitor/monitor.h')
-rw-r--r--usr.sbin/i4b/isdnmonitor/monitor.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/i4b/isdnmonitor/monitor.h b/usr.sbin/i4b/isdnmonitor/monitor.h
index ff192d0..47f9c8b 100644
--- a/usr.sbin/i4b/isdnmonitor/monitor.h
+++ b/usr.sbin/i4b/isdnmonitor/monitor.h
@@ -33,9 +33,9 @@
* i4b daemon - network monitor protocl definition
* -----------------------------------------------
*
- * $Id: monitor.h,v 1.5 1999/02/14 09:44:57 hm Exp $
+ * $Id: monitor.h,v 1.6 1999/05/30 13:49:20 hm Exp $
*
- * last edit-date: [Mon Aug 3 06:52:06 1998]
+ * last edit-date: [Sun May 30 15:50:10 1999]
*
* -mh created
* -hm checking in
@@ -256,8 +256,8 @@
/* put a string into recor r at offset off, make sure it's not to long
* and proper terminate it */
#define I4B_PUT_STR(r, off, str) { \
- strncpy(r+off, str, I4B_MAX_MON_STRING); \
- r[off+I4B_MAX_MON_STRING-1] = (BYTE)0; }
+ strncpy((r)+(off), (str), I4B_MAX_MON_STRING); \
+ (r)[(off)+I4B_MAX_MON_STRING-1] = (BYTE)0; }
#endif /* MONITOR_H */
OpenPOWER on IntegriCloud