[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r862 - GNUnet/src/applications/fs/fsui
From: |
durner |
Subject: |
[GNUnet-SVN] r862 - GNUnet/src/applications/fs/fsui |
Date: |
Sat, 4 Jun 2005 01:17:37 -0700 (PDT) |
Author: durner
Date: 2005-06-04 01:17:34 -0700 (Sat, 04 Jun 2005)
New Revision: 862
Modified:
GNUnet/src/applications/fs/fsui/fsui.c
Log:
"ERROR" is a return code under Windows
Modified: GNUnet/src/applications/fs/fsui/fsui.c
===================================================================
--- GNUnet/src/applications/fs/fsui/fsui.c 2005-06-03 21:53:37 UTC (rev
861)
+++ GNUnet/src/applications/fs/fsui/fsui.c 2005-06-04 08:17:34 UTC (rev
862)
@@ -30,12 +30,12 @@
#define READINT(a) \
if (sizeof(int) != READ(fd, &big, sizeof(int))) \
- goto ERROR; \
+ goto ERR; \
else \
a = ntohl(big)
#define READLONG(a) \
if (sizeof(long long) != READ(fd, &bigl, sizeof(long long))) \
- goto ERROR; \
+ goto ERR; \
else \
a = ntohll(big)
@@ -57,7 +57,7 @@
ret = ECRS_stringToUri(buf);
FREE(buf);
return ret;
- ERROR:
+ ERR:
return NULL;
}
@@ -92,7 +92,7 @@
READINT(big);
ret->filename = MALLOC(big+1);
if (big != READ(fd, ret->filename, big))
- goto ERROR;
+ goto ERR;
ret->filename[big] = '\0';
READLONG(ret->total);
READLONG(ret->completed);
@@ -130,7 +130,7 @@
16 * 1024))
DIE_STRERROR("pthread_create");
return ret;
- ERROR:
+ ERR:
FREE(ret);
return NULL;
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r862 - GNUnet/src/applications/fs/fsui,
durner <=