diff options
| -rw-r--r-- | examples/c4copy.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/examples/c4copy.c b/examples/c4copy.c index 3c0d092..30cf95c 100644 --- a/examples/c4copy.c +++ b/examples/c4copy.c @@ -23,6 +23,16 @@ int main(int argc, char* argv[]) } else { + char* maker = getenv("CC4GROUP_MAKER"); + if(maker != NULL) + { + if(!cc4group.setMaker(group, maker, NULL, true)) + { + fprintf(stderr, "WARNING: Could not set maker: %s\n", cc4group.getErrorMessage(group)); + } + } + + success = cc4group.save(group, argv[2]); if(!success) |
