Skip to content

Commit

Permalink
pam patch: corrected capital letters
Browse files Browse the repository at this point in the history
  • Loading branch information
franku committed May 29, 2018
1 parent 17dfb75 commit ef4280d
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion core/src/dird/fd_cmds.cc
Expand Up @@ -1196,7 +1196,7 @@ void DoClientResolve(UaContext *ua, ClientResource *client)
* After receiving a connection (in socket_server.c) if it is
* from the File daemon, this routine is called.
*/
void *handle_filed_connection(ConnectionPool *connections, BareosSocket *fd,
void *HandleFiledConnection(ConnectionPool *connections, BareosSocket *fd,
char *client_name, int fd_protocol_version)
{
ClientResource *client_resource;
Expand Down
2 changes: 1 addition & 1 deletion core/src/dird/fd_cmds.h
Expand Up @@ -40,7 +40,7 @@ bool SendRestoreObjects(JobControlRecord *jcr, JobId_t JobId, bool send_global);
bool CancelFileDaemonJob(UaContext *ua, JobControlRecord *jcr);
void DoNativeClientStatus(UaContext *ua, ClientResource *client, char *cmd);
void DoClientResolve(UaContext *ua, ClientResource *client);
void *handle_filed_connection(ConnectionPool *connections, BareosSocket *fd,
void *HandleFiledConnection(ConnectionPool *connections, BareosSocket *fd,
char *client_name, int fd_protocol_version);

ConnectionPool *get_client_connections();
Expand Down
2 changes: 1 addition & 1 deletion core/src/dird/ua_server.cc
Expand Up @@ -131,7 +131,7 @@ void *HandleUserAgentClientRequest(BareosSocket *user_agent_socket)
user_agent_socket->signal(BNET_EOD); /* send end of command */
}
}
} else if (IsBnetStop(user)) {
} else if (IsBnetStop(user_agent_socket)) {
ua->quit = true;
} else { /* signal */
user_agent_socket->signal(BNET_POLL);
Expand Down
2 changes: 1 addition & 1 deletion core/src/dird/ua_server.h
Expand Up @@ -22,7 +22,7 @@
#ifndef BAREOS_DIRD_UA_SERVER_H_
#define BAREOS_DIRD_UA_SERVER_H_

void *handle_UA_client_request(BareosSocket *user);
void *HandleUserAgentClientRequest(BareosSocket *user);
UaContext *new_ua_context(JobControlRecord *jcr);
JobControlRecord *new_control_jcr(const char *base_name, int job_type);
void FreeUaContext(UaContext *ua);
Expand Down
2 changes: 1 addition & 1 deletion core/src/stored/fd_cmds.cc
Expand Up @@ -111,7 +111,7 @@ static char Job_end[] =
* After receiving a connection (in dircmd.c) if it is
* from the File daemon, this routine is called.
*/
void *handle_filed_connection(BareosSocket *fd, char *job_name)
void *HandleFiledConnection(BareosSocket *fd, char *job_name)
{
JobControlRecord *jcr;

Expand Down
2 changes: 1 addition & 1 deletion core/src/stored/fd_cmds.h
Expand Up @@ -21,7 +21,7 @@
#ifndef BAREOS_STORED_FD_CMDS_H_
#define BAREOS_STORED_FD_CMDS_H_

void *handle_filed_connection(BareosSocket *fd, char *job_name);
void *HandleFiledConnection(BareosSocket *fd, char *job_name);
void RunJob(JobControlRecord *jcr);
void DoFdCommands(JobControlRecord *jcr);

Expand Down
4 changes: 2 additions & 2 deletions core/src/stored/socket_server.cc
Expand Up @@ -53,7 +53,7 @@ static pthread_t tcp_server_tid;
* Note, we are running as a separate thread of the Storage daemon.
*
* Basic tasks done here:
* - If it was a connection from the FD, call handle_filed_connection()
* - If it was a connection from the FD, call HandleFiledConnection()
* - If it was a connection from another SD, call handle_stored_connection()
* - Otherwise it was a connection from the DIR, call handle_director_connection()
*/
Expand Down Expand Up @@ -88,7 +88,7 @@ static void *HandleConnectionRequest(void *arg)
*/
if (sscanf(bs->msg, "Hello Start Job %127s", name) == 1) {
Dmsg1(110, "Got a FD connection at %s\n", bstrftimes(tbuf, sizeof(tbuf), (utime_t)time(NULL)));
return handle_filed_connection(bs, name);
return HandleFiledConnection(bs, name);
}

/*
Expand Down

0 comments on commit ef4280d

Please sign in to comment.