X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=client_common.c;h=c25e88f8eda2b7480d9c9a5c4630647f58490847;hp=5359b29944d0f52242fe31cb25bfc9a0b9065ab6;hb=6d5a56308a3a833b08ae0e3692b794fb6122ea60;hpb=4591d3022ef21b5148a604d1099eacd85570bde0 diff --git a/client_common.c b/client_common.c index 5359b299..c25e88f8 100644 --- a/client_common.c +++ b/client_common.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 1997-2007 Andre Noll + * Copyright (C) 1997-2008 Andre Noll * * Licensed under the GPL v2. For licencing details see COPYING. */ @@ -195,7 +195,7 @@ static void client_post_select(struct sched *s, struct task *t) PARA_ERROR_LOG("received the following: %s\n", pcd->buf); return; } - PARA_INFO_LOG("%s", "<-- [challenge]\n"); + PARA_INFO_LOG("<-- [challenge]\n"); /* decrypt challenge number */ t->ret = para_decrypt_challenge(pcd->key_file, &pcd->challenge_nr, (unsigned char *) pcd->buf, 64); @@ -228,7 +228,7 @@ static void client_post_select(struct sched *s, struct task *t) pcd->status = CL_RECEIVED_PROCEED; if (bytes_received < PROCEED_MSG_LEN + 32) return; - PARA_INFO_LOG("%s", "decrypting session key\n"); + PARA_INFO_LOG("decrypting session key\n"); t->ret = para_decrypt_buffer(pcd->key_file, rc4_buf, (unsigned char *)pcd->buf + PROCEED_MSG_LEN + 1, bytes_received - PROCEED_MSG_LEN - 1); @@ -371,7 +371,7 @@ int client_open(int argc, char *argv[], struct private_client_data **pcd_ptr) out: free(home); if (ret < 0) { - PARA_ERROR_LOG("%s\n", PARA_STRERROR(-ret)); + PARA_ERROR_LOG("%s\n", para_strerror(-ret)); client_close(pcd); *pcd_ptr = NULL; }