]> git.marmaro.de Git - mmh/blobdiff - uip/burst.c
Added check for EPERM when checking errno after a failed link(2).
[mmh] / uip / burst.c
index 1f626f358e5c4443674307254e2fc55f304d717b..980972e698a97ec9c8791c1c616bff75b93ddae3 100644 (file)
@@ -208,7 +208,7 @@ main (int argc, char **argv)
 static int
 find_delim (int msgnum, struct smsg *smsgs)
 {
 static int
 find_delim (int msgnum, struct smsg *smsgs)
 {
-    int wasdlm, msgp;
+    int wasdlm = 0, msgp;
     off_t pos;
     char c, *msgnam;
     char buffer[BUFSIZ];
     off_t pos;
     char c, *msgnam;
     char buffer[BUFSIZ];