diff options
author | Frédéric Péters <fpeters@0d.be> | 2009-06-17 15:57:02 +0800 |
---|---|---|
committer | Frédéric Péters <fpeters@0d.be> | 2009-06-17 16:15:52 +0800 |
commit | 0f4c81cabf14b37cebef3f4c22f9bdc3ce5238b3 (patch) | |
tree | b99f956b9be07f5578a7f0ea62d0c80fa5b7a64f /libempathy/empathy-tp-file.h | |
parent | e4aa4b036f8f7663b9a0b9362617bce544ac1a3e (diff) | |
download | gsoc2013-empathy-0f4c81cabf14b37cebef3f4c22f9bdc3ce5238b3.tar gsoc2013-empathy-0f4c81cabf14b37cebef3f4c22f9bdc3ce5238b3.tar.gz gsoc2013-empathy-0f4c81cabf14b37cebef3f4c22f9bdc3ce5238b3.tar.bz2 gsoc2013-empathy-0f4c81cabf14b37cebef3f4c22f9bdc3ce5238b3.tar.lz gsoc2013-empathy-0f4c81cabf14b37cebef3f4c22f9bdc3ce5238b3.tar.xz gsoc2013-empathy-0f4c81cabf14b37cebef3f4c22f9bdc3ce5238b3.tar.zst gsoc2013-empathy-0f4c81cabf14b37cebef3f4c22f9bdc3ce5238b3.zip |
Refuse sending empty or special files (directories, char/block devices, etc.)
(GNOME bug 563678)
Diffstat (limited to 'libempathy/empathy-tp-file.h')
-rw-r--r-- | libempathy/empathy-tp-file.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libempathy/empathy-tp-file.h b/libempathy/empathy-tp-file.h index 0d7d8efc0..b40b8c364 100644 --- a/libempathy/empathy-tp-file.h +++ b/libempathy/empathy-tp-file.h @@ -50,7 +50,9 @@ typedef enum { EMPATHY_FT_ERROR_HASH_MISMATCH, EMPATHY_FT_ERROR_TP_ERROR, EMPATHY_FT_ERROR_SOCKET, - EMPATHY_FT_ERROR_NOT_SUPPORTED + EMPATHY_FT_ERROR_NOT_SUPPORTED, + EMPATHY_FT_ERROR_INVALID_SOURCE_FILE, + EMPATHY_FT_ERROR_EMPTY_SOURCE_FILE } EmpathyFTErrorEnum; typedef struct _EmpathyTpFile EmpathyTpFile; |