Ignore:
Timestamp:
Apr 25, 2007, 9:44:55 AM (14 years ago)
Author:
Paul Smedley
Message:

Code updated to Samba 3.0.25rc2 level

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/samba/source/smbd/connection.c

    r1 r30  
    109109        if (cs->Clear && !process_exists(crec.pid) && (errno == ESRCH)) {
    110110                DEBUG(2,("pid %s doesn't exist - deleting connections %d [%s]\n",
    111                         procid_str_static(&crec.pid), crec.cnum, crec.name));
     111                        procid_str_static(&crec.pid), crec.cnum, crec.servicename));
    112112                if (tdb_delete(the_tdb, kbuf) != 0)
    113113                        DEBUG(0,("count_fn: tdb_delete failed with error %s\n", tdb_errorstr(tdb) ));
     
    115115        }
    116116
    117         if (strequal(crec.name, cs->name))
     117        if (strequal(crec.servicename, cs->name))
    118118                cs->curr_connections++;
    119119
     
    192192                crec.uid = conn->uid;
    193193                crec.gid = conn->gid;
    194                 safe_strcpy(crec.name,
    195                             lp_servicename(SNUM(conn)),sizeof(crec.name)-1);
     194                safe_strcpy(crec.servicename,
     195                            lp_servicename(SNUM(conn)),sizeof(crec.servicename)-1);
    196196        }
    197197        crec.start = time(NULL);
Note: See TracChangeset for help on using the changeset viewer.