]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - error.h
sc_send_buffer(): Return an error on short writes.
[paraslash.git] / error.h
diff --git a/error.h b/error.h
index ae94157f81690568fc20a741c0f1757ef664e83a..f7216ea35ee031795a0bf2e916aa8c5bb5b788a9 100644 (file)
--- a/error.h
+++ b/error.h
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2006-2011 Andre Noll <maan@systemlinux.org>
+ * Copyright (C) 2006-2012 Andre Noll <maan@systemlinux.org>
  *
  * Licensed under the GPL v2. For licencing details see COPYING.
  */
@@ -441,6 +441,7 @@ extern const char **para_errlist[];
        PARA_ERROR(FGETS, "fgets error"), \
        PARA_ERROR(EOF, "end of file"), \
        PARA_ERROR(READ_PATTERN, "did not read expected pattern"), \
+       PARA_ERROR(SHORT_WRITE, "unexpected short write"), \
 
 
 #define ALSA_WRITE_ERRORS \