The branch, v3-2-test has been updated
       via  70950b419a57465c38bb36722644b95b1d14f76d (commit)
      from  068e8de72ceb49ef2e02cca1913b6d2197bab5e0 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test


- Log -----------------------------------------------------------------
commit 70950b419a57465c38bb36722644b95b1d14f76d
Author: Jeremy Allison <[EMAIL PROTECTED]>
Date:   Mon Dec 10 13:43:12 2007 -0800

    Fix bug leftover from pstring conversion noticed by ceez
    on irc.
    Jeremy.

-----------------------------------------------------------------------

Summary of changes:
 source/printing/print_aix.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/printing/print_aix.c b/source/printing/print_aix.c
index bb12553..fd85ca0 100644
--- a/source/printing/print_aix.c
+++ b/source/printing/print_aix.c
@@ -32,15 +32,13 @@ bool aix_cache_reload(void)
        int iEtat;
        XFILE *pfile;
        char *line = NULL, *p;
-       char *name;
+       char *name = NULL;
        TALLOC_CTX *ctx = talloc_init("aix_cache_reload");
 
        if (!ctx) {
                return false;
        }
 
-       *name = 0;
-
        DEBUG(5, ("reloading aix printcap cache\n"));
 
        if ((pfile = x_fopen(lp_printcapname(), O_RDONLY, 0)) == NULL) {


-- 
Samba Shared Repository

Reply via email to