projects
/
gapil.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Modifiche al server di echo per introdurre le stampe di debugging e la
[gapil.git]
/
listati
/
PrintErr.c
diff --git a/listati/PrintErr.c
b/listati/PrintErr.c
new file mode 100644
(file)
index 0000000..
e6577d4
--- /dev/null
+++ b/
listati/PrintErr.c
@@ -0,0
+1,8
@@
+void PrintErr(char * error) {
+ if (demonize) {
+ syslog(LOG_ERR, error);
+ } else {
+ perror(error);
+ }
+ return;
+}