diff options
author | Not Zed <NotZed@Ximian.com> | 2001-07-24 09:39:53 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2001-07-24 09:39:53 +0800 |
commit | 46b5e76947be832fbce77428474bbd9f0691df49 (patch) | |
tree | d78e0b74bc3893f34acb0c5c7dbddd454e0e6c6d | |
parent | cb4926026f1f05ffd44af0a9ab51c01f1bfdf21c (diff) | |
download | gsoc2013-evolution-46b5e76947be832fbce77428474bbd9f0691df49.tar gsoc2013-evolution-46b5e76947be832fbce77428474bbd9f0691df49.tar.gz gsoc2013-evolution-46b5e76947be832fbce77428474bbd9f0691df49.tar.bz2 gsoc2013-evolution-46b5e76947be832fbce77428474bbd9f0691df49.tar.lz gsoc2013-evolution-46b5e76947be832fbce77428474bbd9f0691df49.tar.xz gsoc2013-evolution-46b5e76947be832fbce77428474bbd9f0691df49.tar.zst gsoc2013-evolution-46b5e76947be832fbce77428474bbd9f0691df49.zip |
Somehow this missed the commit.
2001-07-24 Not Zed <NotZed@Ximian.com>
* camel-operation.c (camel_operation_register, unregister): Added
some warnings for bad cases.
svn path=/trunk/; revision=11333
-rw-r--r-- | camel/camel-operation.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/camel/camel-operation.c b/camel/camel-operation.c index dce3340b9a..708259ff32 100644 --- a/camel/camel-operation.c +++ b/camel/camel-operation.c @@ -295,7 +295,7 @@ void camel_operation_register(CamelOperation *cc) cc->id = id; g_hash_table_insert(operation_active, (void *)id, cc); } else { - g_warning("Re-registering thread %d for cancellation as thread %d", cc->id, id); + g_warning("Re-registering thread %lu for cancellation as thread %lu", cc->id, id); } d(printf("registering thread %ld for cancellation\n", id)); @@ -329,7 +329,7 @@ void camel_operation_unregister(CamelOperation *cc) if (cc) { if (cc->id != (~0)) { g_hash_table_remove(operation_active, (void *)cc->id); - cc->id == ~0; + cc->id = ~0; } else { g_warning("Unregistering an operation that was already unregistered"); } |