[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r3817 - in GNUnet/src: applications/fs/tools util/network_c
From: |
grothoff |
Subject: |
[GNUnet-SVN] r3817 - in GNUnet/src: applications/fs/tools util/network_client util/string |
Date: |
Fri, 24 Nov 2006 14:34:31 -0800 (PST) |
Author: grothoff
Date: 2006-11-24 14:34:27 -0800 (Fri, 24 Nov 2006)
New Revision: 3817
Modified:
GNUnet/src/applications/fs/tools/gnunet-directory.c
GNUnet/src/util/network_client/tcpio.c
GNUnet/src/util/string/string.c
Log:
warnings
Modified: GNUnet/src/applications/fs/tools/gnunet-directory.c
===================================================================
--- GNUnet/src/applications/fs/tools/gnunet-directory.c 2006-11-24 00:35:06 UTC
(rev 3816)
+++ GNUnet/src/applications/fs/tools/gnunet-directory.c 2006-11-24 22:34:27 UTC
(rev 3817)
@@ -155,7 +155,7 @@
};
int main(int argc,
- const char * argv[]) {
+ char * const * argv) {
int i;
struct GC_Configuration * cfg;
Modified: GNUnet/src/util/network_client/tcpio.c
===================================================================
--- GNUnet/src/util/network_client/tcpio.c 2006-11-24 00:35:06 UTC (rev
3816)
+++ GNUnet/src/util/network_client/tcpio.c 2006-11-24 22:34:27 UTC (rev
3817)
@@ -330,7 +330,7 @@
int connection_read(struct ClientServerConnection * sock,
MESSAGE_HEADER ** buffer) {
int res;
- unsigned int pos;
+ size_t pos;
char * buf;
unsigned short size;
RETURN_ERROR_MESSAGE * rem;
Modified: GNUnet/src/util/string/string.c
===================================================================
--- GNUnet/src/util/string/string.c 2006-11-24 00:35:06 UTC (rev 3816)
+++ GNUnet/src/util/string/string.c 2006-11-24 22:34:27 UTC (rev 3817)
@@ -1,5 +1,5 @@
-/*
- This file is part of GNUnet.
+/*
+ This file is part of GNUnet.
(C) 2005, 2006 Christian Grothoff (and other contributing authors)
GNUnet is free software; you can redistribute it and/or modify
@@ -296,7 +296,8 @@
/* relative path */
fil_ptr = fil;
len = 512;
- errno = ERANGE;
+ errno = ERANGE;
+ fm = NULL;
while (errno == ERANGE) {
buffer = MALLOC(len);
if (getcwd(buffer, len) != NULL) {
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r3817 - in GNUnet/src: applications/fs/tools util/network_client util/string,
grothoff <=