OSSP CVS Repository

ossp - Difference in ossp-pkg/act/act_ctx.c versions 1.6 and 1.7
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/act/act_ctx.c 1.6 -> 1.7

--- act_ctx.c    2002/01/02 17:05:53     1.6
+++ act_ctx.c    2003/01/06 12:10:57     1.7
@@ -1,9 +1,10 @@
-/* 
-**  Act - Abstract Container Type Library
-**  Copyright (c) 1999-2002 Ralf S. Engelschall <rse@engelschall.com>
+/*
+**  OSSP act - Abstract Container Types
+**  Copyright (c) 1999-2003 Ralf S. Engelschall <rse@engelschall.com>
+**  Copyright (c) 1999-2003 The OSSP Project <http://www.ossp.org/>
 **
-**  This file is part of Act, a library for dealing with Abstract 
-**  Container Types which can be found at http://www.ossp.org/pkg/act/.
+**  This file is part of OSSP act, an abstract container type library
+**  which can be found at http://www.ossp.org/pkg/lib/act/.
 **
 **  Permission to use, copy, modify, and distribute this software for
 **  any purpose with or without fee is hereby granted, provided that
@@ -84,7 +85,7 @@
     return ctx;
 }
 
-/* duplicate a new context structure 
+/* duplicate a new context structure
    (optionally with the help of a template) */
 act_ctx_t *act_ctx_dup(act_ctx_t *ctx, act_ctx_t *ctx_template)
 {
@@ -101,14 +102,14 @@
         ctx_from = ctx;
     if ((ctx_new = (act_ctx_t *)act_mem_alloc(sizeof(struct act_ctx_st))) == NULL)
         return NULL;
-    act_mem_move(ctx_new->c_entry, ctx_from->c_entry, 
+    act_mem_move(ctx_new->c_entry, ctx_from->c_entry,
                  sizeof(act_ctx_entry_t)*(ACT_CTX_ENTRY_MAX+1));
     if (ctx_template != NULL) {
         for (i = 0; i <= ACT_CTX_ENTRY_MAX; i++) {
             ACT_CTX_ID_SPLIT(sp, lk, ty, no, ctx_new->c_entry[i].e_id);
             if (!lk) {
                 ctx_new->c_entry[i].e_id = ctx->c_entry[i].e_id;
-                act_mem_move(&(ctx_new->c_entry[i].e_value), &(ctx->c_entry[i].e_value), 
+                act_mem_move(&(ctx_new->c_entry[i].e_value), &(ctx->c_entry[i].e_value),
                              sizeof(act_ctx_value_t));
             }
         }

CVSTrac 2.0.1