[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r4647 - GNUnet/src/applications/fs/fsui
From: |
gnunet |
Subject: |
[GNUnet-SVN] r4647 - GNUnet/src/applications/fs/fsui |
Date: |
Mon, 5 Mar 2007 13:50:27 -0700 (MST) |
Author: durner
Date: 2007-03-05 13:50:27 -0700 (Mon, 05 Mar 2007)
New Revision: 4647
Modified:
GNUnet/src/applications/fs/fsui/upload.c
Log:
don't pass NULL pointer to FSUI event handler on error
Modified: GNUnet/src/applications/fs/fsui/upload.c
===================================================================
--- GNUnet/src/applications/fs/fsui/upload.c 2007-03-05 20:44:30 UTC (rev
4646)
+++ GNUnet/src/applications/fs/fsui/upload.c 2007-03-05 20:50:27 UTC (rev
4647)
@@ -270,8 +270,11 @@
&utc->uri);
if (ret != OK) {
if (utc->state == FSUI_ACTIVE) {
+ char *err;
+
+ err = GE_memory_get(mem, 0);
signalError(utc,
- GE_memory_get(mem, 0));
+ err ? err : "");
} else if (utc->state == FSUI_ABORTED) {
event.type = FSUI_upload_aborted;
event.data.UploadAborted.uc.pos = utc;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r4647 - GNUnet/src/applications/fs/fsui,
gnunet <=